Title: Getting PHP Parse error on wp-admin page
Last modified: June 17, 2022

---

# Getting PHP Parse error on wp-admin page

 *  Resolved [viniciusaac](https://wordpress.org/support/users/viniciusaac/)
 * (@viniciusaac)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/getting-php-parse-error-on-wp-admin-page/)
 * Hi, first of all, thank you for you awesome plugin. It works fine, but only when
   I try to access mysite.com/wp-admin it returns an crash error. Can you help me
   to fix it?
 * PHP Parse error: syntax error, unexpected ‘::’ (T_PAAMAYIM_NEKUDOTAYIM) on
    /
   analytics-insights/tools/gapi.php on line 74
 * If i comment line 74 and 75, it works again.
 * Thank you

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

 *  Plugin Author [Alin Marcu](https://wordpress.org/support/users/deconf/)
 * (@deconf)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/getting-php-parse-error-on-wp-admin-page/#post-15746458)
 * Hi,
 * What’s your site’s PHP version? You can check it under Tools – Site Health – 
   Info – Server or Analytics Insights – Errors & Debug – System.
 * Is it PHP 5.x?
 *  Thread Starter [viniciusaac](https://wordpress.org/support/users/viniciusaac/)
 * (@viniciusaac)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/getting-php-parse-error-on-wp-admin-page/#post-15746486)
 * No, it´s 7.4.11
 *  Plugin Author [Alin Marcu](https://wordpress.org/support/users/deconf/)
 * (@deconf)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/getting-php-parse-error-on-wp-admin-page/#post-15747712)
 * The latest version should fix it.
 * Please note that the error is PHP 5.6 specific. Your site is either on version
   5.6, you’re installing via wp-cli which runs on PHP 5.6, or similar.
 * Not 100% sure, but you should double check the above.
 *  Thread Starter [viniciusaac](https://wordpress.org/support/users/viniciusaac/)
 * (@viniciusaac)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/getting-php-parse-error-on-wp-admin-page/#post-15767472)
 * That´s funny, because I doubled check. From wordpress admin panel and Directly
   on server. Both returns php version 7.4.11. I will try to update it.
 * PHP 7.4.11 (cli) (built: Oct 18 2020 19:39:05)
 * Anyway, Thank you so much for your attention

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

The topic ‘Getting PHP Parse error on wp-admin page’ is closed to new replies.

 * ![](https://ps.w.org/analytics-insights/assets/icon-256x256.png?rev=2596644)
 * [Analytics Insights - Google Analytics Dashboard for WordPress](https://wordpress.org/plugins/analytics-insights/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/analytics-insights/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/analytics-insights/)
 * [Active Topics](https://wordpress.org/support/plugin/analytics-insights/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/analytics-insights/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/analytics-insights/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [viniciusaac](https://wordpress.org/support/users/viniciusaac/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/getting-php-parse-error-on-wp-admin-page/#post-15767472)
 * Status: resolved