Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Parse error with json – WP update

Discussion in 'Misc WordPress Requests' started by madsenand, Mar 12, 2018.

  1. madsenand


    Parse error with json – WP update, by madsenand

    Dear WP experts,

    I’m new to WP, and I just got this error message, when I updated to the new version of WP. I’m sure its about an old theme I got – which hasn’t been updated – but I don’t now how to fix it.

    Error message:

    Parse error: syntax error, unexpected ‘)’ in /var/www/fkmagasin.dk/public_html/wp-content/themes/ModernMag/fw/core/Common.php on line 611

    This is the mentioned code line, I found in FTP:

    return json_decode(json_encode($arr), );

    Does anybody know how to fix this and save my theme. Thank you!

    Parse error with json – WP update

Share This Page

Monarch Social Sharing Plugin