PHP errors

Home Forums Pro Support PHP errors

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #67559
    Bo KjaergaardBo Kjaergaard
    Participant

    Running the Query Monitor plugin reports PHP errors related to the plugin. Anyway to fix those?

    Deprecated (Suppressed) Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of “Twig_SimpleFunction” instead when defining function “__”. 73
    wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Environment.php:1221
    Plugin: responsive-menu-pro
    Deprecated (Suppressed) Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of “Twig_SimpleFunction” instead when defining function “do_meta_boxes”. 73

    wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Environment.php:1221
    Plugin: responsive-menu-pro
    Deprecated (Suppressed) Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of “Twig_SimpleFunction” instead when defining function “unique_name”. 73
    wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Environment.php:1221
    Plugin: responsive-menu-pro
    Deprecated (Suppressed) Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of “Twig_SimpleFunction” instead when defining function “printf”. 73

    wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Environment.php:1221
    Plugin: responsive-menu-pro
    Deprecated (Suppressed) Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of “Twig_SimpleFunction” instead when defining function “sprintf”. 73

    wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Environment.php:1221
    Plugin: responsive-menu-pro
    Deprecated (Suppressed) Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of “Twig_SimpleFunction” instead when defining function “apply_filters”. 73

    wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Environment.php:1221
    Plugin: responsive-menu-pro
    Deprecated (Suppressed) Passing a name as a first argument to the Twig_Environment::addFunction method is deprecated since version 1.21. Pass an instance of “Twig_SimpleFunction” instead when defining function “do_action”.

    #67560
    Peter FeatherstonePeter Featherstone
    Participant

    Hey there,

    Do you know what line of my plugin is causing this (not Twigs code)?

    I can’t see any calls to twigs addFunction method inside my config/twig.php file that are being passed as a name string and not as a Twig_SimpleFunction instance.

    Please advise

    Peter

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘PHP errors’ is closed to new replies.