Title: Errors strict-standards
Last modified: August 22, 2016

---

# Errors strict-standards

 *  [preddie](https://wordpress.org/support/users/preddie/)
 * (@preddie)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/errors-strict-standards/)
 * I get these errors now:
 * Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback,
   non-static method allow_php_in_posts::shortcode_advanced() should not be called
   statically in /var/www/html/wp-includes/plugin.php on line 214
 * Strict Standards: Non-static method allow_php_in_posts::option_get() should not
   be called statically in /var/www/html/wp-content/plugins/allow-php-in-posts-and-
   pages/allowphp.php on line 396
 * Strict Standards: Non-static method allow_php_in_posts::snippet_swap() should
   not be called statically in /var/www/html/wp-content/plugins/allow-php-in-posts-
   and-pages/allowphp.php(420) : eval()’d code on line 1
 * Strict Standards: Non-static method allow_php_in_posts::snippet_get() should 
   not be called statically in /var/www/html/wp-content/plugins/allow-php-in-posts-
   and-pages/allowphp.php on line 186
 * Deprecated: mysql_query(): The mysql extension is deprecated and will be removed
   in the future: use mysqli or PDO instead in /var/www/html/wp-content/plugins/
   allow-php-in-posts-and-pages/allowphp.php(191) : eval()’d code on line 3
 * Warning: mysql_query(): Access denied for user ‘root’@’localhost’ (using password:
   NO) in /var/www/html/wp-content/plugins/allow-php-in-posts-and-pages/allowphp.
   php(191) : eval()’d code on line 3
 * Warning: mysql_query(): A link to the server could not be established in /var/
   www/html/wp-content/plugins/allow-php-in-posts-and-pages/allowphp.php(191) : 
   eval()’d code on line 3
 * Any ideas?
 * [https://wordpress.org/plugins/allow-php-in-posts-and-pages/](https://wordpress.org/plugins/allow-php-in-posts-and-pages/)

The topic ‘Errors strict-standards’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/allow-php-in-posts-and-pages_edefed.
   svg)
 * [Allow PHP in Posts and Pages](https://wordpress.org/plugins/allow-php-in-posts-and-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/allow-php-in-posts-and-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/allow-php-in-posts-and-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/allow-php-in-posts-and-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/allow-php-in-posts-and-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/allow-php-in-posts-and-pages/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [preddie](https://wordpress.org/support/users/preddie/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/errors-strict-standards/)
 * Status: not resolved