Skip to content

FrontendManager fails when pdoTools not installed #12

@joeke

Description

@joeke

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.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions