Title: Plugin throws PHP warning
Last modified: December 13, 2018

---

# Plugin throws PHP warning

 *  Resolved [Bernhard Kau](https://wordpress.org/support/users/kau-boy/)
 * (@kau-boy)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-throws-php-warning/)
 * Version 1.7.1 throws a PHP warning:
 * `PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback,
   function 'cookielawinfo_inject_cli_script' not found or invalid function name
   in .../wp-includes/class-wp-hook.php on line 286`
 * With version 1.6.0 he warning is not shown.

Viewing 1 replies (of 1 total)

 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-throws-php-warning/#post-10987430)
 * Hi [@kau-boy](https://wordpress.org/support/users/kau-boy/),
 * We are unable to replicate the issue in our dev/testing environment. To check
   this on-site level, please reach us via the [support link here.](https://www.webtoffee.com/support/)

Viewing 1 replies (of 1 total)

The topic ‘Plugin throws PHP warning’ is closed to new replies.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/plugin-throws-php-warning/#post-10987430)
 * Status: resolved