Title: PHPPC error for php &gt; version 5.3
Last modified: August 30, 2016

---

# PHPPC error for php > version 5.3

 *  Resolved [areinheimer](https://wordpress.org/support/users/areinheimer/)
 * (@areinheimer)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/phppc-error-for-php-version-53/)
 * Hi there, great plugin – it is an essential part of my website!
    Wordpress recommends
   php 5.6 but I was on version 5.3 until today. After changing to php 5.6 I get
   an error:
 * Strict Standards: Non-static method PHPPC::get_single_snippet() should not be
   called statically in /home/mysite/public_html/wp-content/plugins/php-code-for-
   posts/PHPPostCode.php on line 77
 * Also I get this error with any php version over 5.3 – not sure if it is related:
 * Strict Standards: call_user_func() expects parameter 1 to be a valid callback,
   non-static method PHPPC::handle_shortcode() should not be called statically in/
   home/mysite/public_html/wp-includes/shortcodes.php on line 308
 * I’d like to be able to run at least version 5.4 of php. Thanks for looking into
   it!
 * [https://wordpress.org/plugins/php-code-for-posts/](https://wordpress.org/plugins/php-code-for-posts/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Ben Dunkle](https://wordpress.org/support/users/empireoflight/)
 * (@empireoflight)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/phppc-error-for-php-version-53/#post-6801485)
 * Same error here…
 *  Plugin Author [Jamie Fraser](https://wordpress.org/support/users/thejfraser/)
 * (@thejfraser)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/phppc-error-for-php-version-53/#post-6801543)
 * Hi Guys,
 * This error should be fixed in the latest release.
 * You could also turn off strict errors in php.ini (in general)
 * cheers

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHPPC error for php > version 5.3’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/php-code-for-posts_0d1022.svg)
 * [PHP Code for posts](https://wordpress.org/plugins/php-code-for-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-code-for-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-code-for-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/php-code-for-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-code-for-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-code-for-posts/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Jamie Fraser](https://wordpress.org/support/users/thejfraser/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/phppc-error-for-php-version-53/#post-6801543)
 * Status: resolved