Title: PHP 4 LOG error when using PHP 5
Last modified: August 30, 2016

---

# PHP 4 LOG error when using PHP 5

 *  Resolved [OviLiz](https://wordpress.org/support/users/ovib/)
 * (@ovib)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/php-4-log-error-when-using-php-5/)
 * Hi guys,
    I’m writing referring to this PHP log: [https://wordpress.org/support/topic/error-message-on-wp-google-fonts-plugin-activation-with-wp-version-371](https://wordpress.org/support/topic/error-message-on-wp-google-fonts-plugin-activation-with-wp-version-371)
   There is also a simple solution but not permanent.
 * Could you please use an if statement on the reported code?
    Something like this`
   if (PHP_VERSION>='5')`
 * Thank you.
 * [https://wordpress.org/plugins/wp-google-fonts/](https://wordpress.org/plugins/wp-google-fonts/)

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

 *  [Marco Chiesi](https://wordpress.org/support/users/marcochiesi/)
 * (@marcochiesi)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/php-4-log-error-when-using-php-5/#post-6582086)
 * I am also experiencing the same `Strict Standards` error and it’s very annoying,
   specially when debugging other stuff. An even simpler solutions is to move the
   PHP4 style constructor `googlefonts` after the PHP5 `__construct` (see this core
   [ticket](https://core.trac.wordpress.org/ticket/20801) for a sample).
    I hope
   it can be fixed in future releases.
 *  Plugin Author [Garrett Grimm](https://wordpress.org/support/users/grimmdude/)
 * (@grimmdude)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-4-log-error-when-using-php-5/#post-9010232)
 * I’d recommend updating to PHP5. PHP4 is no longer being supported,
 * -Garrett

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

The topic ‘PHP 4 LOG error when using PHP 5’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-google-fonts_ffffff.svg)
 * [WP Google Fonts](https://wordpress.org/plugins/wp-google-fonts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-fonts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-fonts/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-fonts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-fonts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-fonts/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Garrett Grimm](https://wordpress.org/support/users/grimmdude/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/php-4-log-error-when-using-php-5/#post-9010232)
 * Status: resolved