Plugin Fatal Error

Essential Grid can’t be activated. I’ve updated to the latest php and tried disabling all other plugins and I still get this:

Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(’ in /home/content/94/5192394/html/newtheme/wp-content/plugins/essential-grid/includes/external-sources.class.php on line 2

Ideas?

Hello @karenbove,

Thanks for asking. :slight_smile:

Please make sure that you have installed PHP 5.6.x or later to support maximum compatibility as the latest version of PHP is still not fully compatible with WordPress as there are few known issues.

After that please delete Essential Grid from Plugins > Installed Plugins and then try to reinstall from X > Validation > Extension.

Let us know how it goes.

Thanks.

Current PHP version is 5.6 and I’m still getting:

Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(’ in /home/content/94/5192394/html/newtheme/wp-content/plugins/essential-grid/includes/external-sources.class.php on line 2

I also tried installing it by uploading directly via FTP and still got the same message. I’m also getting similar errors when trying to install other plugins.

Hi karenbove,

Theoretically, it should work fine in PHP 5.6 as PHP “use” keyword was introduced in PHP 5.3, to allow us investigating this issue in details, please provide us with WordPress Dashboard login details and FTP access as well in a “Secure Note”.

Thanks.

Hi @karenbove

I’ve installed “Health Check” plugin on your website and it reported that you have an old version of PHP (Version 5.2.17) as I mentioned earlier PHP “use” keyword was introduced in PHP 5.3 that’s why the plugin can’t be activated on your website, please get in contact with your hosting provider regarding updating PHP on your server for at least PHP version 5.6 or newer.

Thanks.

What happened to my theme?? The site is back to the default wordpress twentyseventeen with no options to switch to the other themes that are showing up in my file directory. When I try to activate X and cornerstone (again!) I get a message that my activation code isn’t valid

Hello There,

Your website is fine and working correctly.

I have investigated your issue why you cannot activated the Essential Grid plugin. I found out that you are using PHP version 5.2.17 and WordPress 4.7 requires at least 7.0 (https://wordpress.org/about/requirements/). In most cases you cannot update your PHP version yourself and need to contact your host about this. The upgrade process is an easy process and should be something your host can do for you without affecting your website or charging you for it. Here’s a letter you can send to your hosting company:

Dear host,

I'm interested in running the open-source WordPress <https://wordpress.org/> web software and 
I was wondering if my account supported the following:

- PHP 7 or greater
- MySQL 5.6 or greater
- The mod_rewrite Apache module
- HTTPS support

Looking forward to your reply.

Hope this helps. Kindly let us know.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.