Title: Parse error: syntax error, unexpected &#8216;)&#8217;
Last modified: September 30, 2020

---

# Parse error: syntax error, unexpected ‘)’

 *  Resolved [okay75](https://wordpress.org/support/users/okay75/)
 * (@okay75)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-256/)
 * There is a bug in current version (1.9.0):
    Parse error: syntax error, unexpected‘)’
   in …/wp-content/plugins/kadence-blocks/dist/class-kadence-blocks-table-of-contents.
   php on line 623
 * An extra comma in line 622 leads to this bug.

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

 *  Plugin Contributor [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-256/#post-13475561)
 * Thanks for posting, php7.2 is my nemesis. I just pushed live a fix.
 * Ben
 *  Thread Starter [okay75](https://wordpress.org/support/users/okay75/)
 * (@okay75)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-256/#post-13475576)
 * Thank you for the fast fix!
 *  [centechautomation](https://wordpress.org/support/users/centechautomation/)
 * (@centechautomation)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-256/#post-13476052)
 * I just had the same problem.
    Parse error: syntax error, unexpected ‘)’ in /home4/
   centexauto12/test.centechautomation.com/wp-content/plugins/kadence-blocks/dist/
   class-kadence-blocks-table-of-contents.php on line 623
 * I hadn’t made any changes, just working on exporting products and settings.
 * Here is line 623
    623 );
 *  [centechautomation](https://wordpress.org/support/users/centechautomation/)
 * (@centechautomation)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-256/#post-13476063)
 * I removed the comma from the end of line 622 and the site is working now.
    Is
   it fine to leave that change?
 *  Plugin Contributor [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-256/#post-13476065)
 * [@centechautomation](https://wordpress.org/support/users/centechautomation/) 
   Yes or what I suggest is updating the plugin.
 * Ben
 *  [centechautomation](https://wordpress.org/support/users/centechautomation/)
 * (@centechautomation)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-256/#post-13476077)
 * Thanks, Ben. I didn’t understand you were the Kadence block author. But, I couldn’t
   get into the dashboard. I know there’s another way, just thought changing that
   line would be easier for this newb.
 * BTW, I’m loving Kadence Block.
 * Michael

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

The topic ‘Parse error: syntax error, unexpected ‘)’’ is closed to new replies.

 * ![](https://ps.w.org/kadence-blocks/assets/icon-256x256.png?rev=3178382)
 * [Kadence Blocks — Page Builder Toolkit for Gutenberg Editor](https://wordpress.org/plugins/kadence-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/kadence-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/kadence-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/kadence-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/kadence-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/kadence-blocks/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [centechautomation](https://wordpress.org/support/users/centechautomation/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-256/#post-13476077)
 * Status: resolved