• yizhongdieclothing

    (@yizhongdieclothing)


    Hi guys,

    I am trying to learn to build my website from scratch. I installed “Astra” theme and activated it. Then it popped out “

    Parse error: syntax error, unexpected ‘)’ in /www/wwwroot/yizhongdie.com/wp-content/themes/astra/inc/core/class-astra-admin-settings.php on line 248

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.

    Now above message showed up when I go to “dashboard” and “appearance”. I cannot use WordPress at all.

    I don’t know about coding, that’s why I choose a theme to start. It makes me so confused and I do not know how to fix it. Anyone can give me some instruction?

    Really appreciate it if anyone can reply this post.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @yizhongdieclothing,

    Please try reinstalling the Astra theme and see if it solves the issue. Please also refer to this doc and see if it helps.

    Please let us know how you go.

    Kind regards,
    Herman ??

    Hi,@yizhongdieclothing

    I fixed the same problem with this small thing I just added as a comment these rows 240-246 and removed , on 239 in file wp-content/themes/astra/inc/core/class-astra-admin-settings.php

    • This reply was modified 3 months, 2 weeks ago by gal1na. Reason: upload an image

    Have same problem, it was up to PHP version on server which was 7.2.

    Increasing PHP to 7.4 (or more) solved problem

    Hi @nalicboban,

    Thank you for sharing your input! Hopefully, this will help resolve the issue for other users as well.

    Kind regards,
    Aradhy ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.