Title: php 7 and PHP Code for posts
Last modified: August 31, 2016

---

# php 7 and PHP Code for posts

 *  Resolved [suay](https://wordpress.org/support/users/suay/)
 * (@suay)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/php-7-and-php-code-for-posts/)
 * My WP site is now on PHP 7 and the PHP plugin “PHP Code for posts” stops working,
   a blank page, on php 5.6 there is no problem, do you have a solution?
 * [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)

 *  Plugin Author [Jamie Fraser](https://wordpress.org/support/users/thejfraser/)
 * (@thejfraser)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/php-7-and-php-code-for-posts/#post-7328851)
 * Hi Suay,
 * What errors are being shown in your error logs?
 *  Thread Starter [suay](https://wordpress.org/support/users/suay/)
 * (@suay)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/php-7-and-php-code-for-posts/#post-7328858)
 * I think it is not the plugin but mysql_connect = deprecated in PHP7
    Sorry

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

The topic ‘php 7 and PHP Code for posts’ 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
 * 2 participants
 * Last reply from: [suay](https://wordpress.org/support/users/suay/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/php-7-and-php-code-for-posts/#post-7328858)
 * Status: resolved