• 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 6 replies - 1 through 6 (of 6 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 1 year, 6 months 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 😊

    colegiomp

    (@colegiomp)

    Olá,

    Mudei o tema do site e agora não consigo acessar nem o painel como administrador, aparece este erro e não tem como entrar no site:

    Parse error: syntax error, unexpected ‘)’ in /home/marcopolocolegio/www/wp-content/themes/altr/functions.php on line 180

    Há um erro crítico no seu site.

    Não sei como arrumar isto, alguém poderia me ajudar?

    Aradhy Singh

    (@bsfaradhy)

    Hi @colegiomp,

    As per this forum guide, I would ask you to please start your own thread. You can cross-link it to this one, so we are aware of both.

    Kind regards,
    Aradhy 😊

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

The topic ‘Issue with Parse error: syntax error, unexpected after activating “Astra”’ is closed to new replies.