PHP errors
Home › Forums › Pro Support › PHP errors
- This topic has 2 replies, 2 voices, and was last updated 5 years, 3 months ago by Bo Kjaergaard.
-
AuthorPosts
-
January 4, 2019 at 6:11 pm #67559Bo KjaergaardParticipant
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”. 73wp-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”. 73wp-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”. 73wp-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”. 73wp-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”.January 5, 2019 at 6:30 pm #67560Peter FeatherstoneParticipantHey 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 myconfig/twig.php
file that are being passed as a name string and not as aTwig_SimpleFunction
instance.Please advise
Peter
-
AuthorPosts
- The topic ‘PHP errors’ is closed to new replies.