Error after Activation

Hello, after activating the theme I received this error.

Parse error: syntax error, unexpected ‘[‘ in /home/XXXXXXXX/public_html/XXXXXXXX/wp-content/themes/shapely/inc/widgets/widget-home-clients.php on line 18

It also stops me from accessing wp-admin, so I’m restoring the site now.

Hopefully a reinstall will fix, will let you know.

Hi @joeaiot,

Sorry to hear of the problem you are having.

To resolve the issue could you please try overwriting the theme file /wp-content/themes/shapely/inc/widgets/widget-home-clients.php with the attached file?

Best Regards,

Hi Movin.

I jus want to download the file you upload to fix this error, but when i try to download it takes me to an error page that says something like:

“Sucuri WebSite Firewall - CloudProxy - Access Denied”

Is there any way to download it? I really need it!

Thank you very much :slight_smile:

I’m experiencing this same error and now cannot access anything in my wordpress. I don’t know how to restore the wordpress to start over. Can anyone help? Thank you.

Hi There,

If you can’t download the shared modified file then change the code in that file by using the modified code shared in the below topic.

Best Regards,

Hi @auragami,

To restore it either upgrade your PHP version to the latest one or change the shapely theme file using FTP or File manager as described above.