Title: PHP7 Error
Last modified: November 24, 2016

---

# PHP7 Error

 *  Resolved [DannyvanHolten](https://wordpress.org/support/users/dannyvanholten/)
 * (@dannyvanholten)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/php7-error-8/)
 * The plugin is not compatible with PHP7. To fix this.
 * change the following line in core/core.php
 * `function googlePagespeedInsights(&$gpi_options) {`
 * to
 * `function __construct(&$gpi_options) {`
 * Hopefully you can fix this in a short period of time. I would really love to 
   use this plug-in. But now I can’t unfortunately

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

 *  Plugin Author [Matt Keys](https://wordpress.org/support/users/mattkeys/)
 * (@mattkeys)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php7-error-8/#post-8538748)
 * I just released v1.0.7 to address these issues now while I continue working on
   v2.0.
 * thanks for reporting.
 *  Thread Starter [DannyvanHolten](https://wordpress.org/support/users/dannyvanholten/)
 * (@dannyvanholten)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/php7-error-8/#post-8663210)
 * Superthanx!

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

The topic ‘PHP7 Error’ is closed to new replies.

 * ![](https://ps.w.org/google-pagespeed-insights/assets/icon-256x256.png?rev=1692787)
 * [Insights from Google PageSpeed](https://wordpress.org/plugins/google-pagespeed-insights/)
 * [Support Threads](https://wordpress.org/support/plugin/google-pagespeed-insights/)
 * [Active Topics](https://wordpress.org/support/plugin/google-pagespeed-insights/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-pagespeed-insights/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-pagespeed-insights/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [DannyvanHolten](https://wordpress.org/support/users/dannyvanholten/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/php7-error-8/#post-8663210)
 * Status: resolved