Parse error: syntax error, unexpected ')'

Parse error : syntax error, unexpected ‘)’ in /homepages/41/d396919553/htdocs/clickandbuilds/MauriceStern/wp-content/themes/x/framework/functions/x/migration.php on line 268

I have tried to correct this based on previous forum queries. I have also consulted the hosting support. Please let me know what to do!

Hi @alikat8,

Thanks for reaching out!

I tried to update the X theme in my development website but I was not able to replicate this issue. I suspect what happened is, there are some corrupted files that cause the issue.

I would recommend fully deleting the X theme and Cornerstone then reinstalling. A good way to do this would be:

  • Access your files using FTP or file manager then go to wp-content/themes then delete the X folder.
  • After deleting the folder, you can now login to your WP dashboard
  • Go to the plugin page and fully delete the Cornerstone plugin
  • Go to your themeco account and download the latest X theme
  • Upload the latest version of the X theme to your website and activate it
  • Use the link provided by X in the dashboard to automatically install Cornerstone at the latest version.

Hope that helps and let us know how that goes.

I have followed your instructions but when I upload the latest version of X theme I get the same error:
Parse error : syntax error, unexpected ‘)’ in /homepages/41/d396919553/htdocs/clickandbuilds/MauriceStern/wp-content/themes/x/framework/functions/x/migration.php on line 268

and I can not access the dashboard.
I have tried several times! and also I have deleted and reinstalled the x-child theme.
(I have saved my styles.css to my computer to paste back into the child theme later)

Is there something else I can try? Do you need the admin info?

The site is now working! FYI the issue was that the PHP was not updated.
Thank you for your help!

You are most welcome @alikat8

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