Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FrontendManager fails when pdoTools not installed #12

Open
joeke opened this issue Sep 26, 2017 · 0 comments · May be fixed by #31
Open

FrontendManager fails when pdoTools not installed #12

joeke opened this issue Sep 26, 2017 · 0 comments · May be fixed by #31

Comments

@joeke
Copy link

joeke commented Sep 26, 2017

When testing on an installation without pdoTools I get the following error:
PHP message: PHP Fatal error: Call to a member function setConfig() on null in /var/www/vhosts/modx258/webroot/core/components/frontendmanager/model/frontendmanager/frontendmanager.class.php on line 38"

This is because the pdoTools service cannot be found. The solution would be to add a dependency for pdoTools to your build config or change the code in the frontendmanager.class.php to fallback to the MODX core functions (getChunk etc.).

@alexsoin alexsoin linked a pull request Jan 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant