• Resolved ndoshi

    (@ndoshi)


    Someone from our staff updated the SiteOrigin plugin recently and now we are getting this error on our home page.

    Parse error: syntax error, unexpected T_FUNCTION in /home/uclareag/webapps/wordpress/wp-content/plugins/siteorigin-panels/compat/layout-block.php on line 95

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Andrew Misplon

    (@misplon)

    Hi, sorry to hear about the hassle.

    Please, reach out to your hosting provider and check what version of PHP you’re using. WordPress recommends PHP 7.3+. PHP 5.6.20+ is the minimum supported version but not recommended.

    Thread Starter ndoshi

    (@ndoshi)

    Thank you Andrew. I appreciate your help.

    We are on PHP 5.6.40, so it should be working.
    We are running on CentOS 7.6, so I did check and there are multiple versions of php installed. I tried updating the wordpress config to PHP 7.0 or 7.2 but that causes numerous other things to fail.

    Do you have any other ideas?

    Plugin Support Andrew Misplon

    (@misplon)

    Are you certain about the PHP version? If there is any doubt, are you able to create and temporarily upload a PHP info file?

    Plugin Support Andrew Misplon

    (@misplon)

    Any version of PHP after 5.3 should be fine.

    With regards to your site now. Is WP_DEBUG enabled? Please, check the wp-config.php file in your WordPress root. If you aren’t actively troubleshooting, consider setting WP_DEBUG to false and then check the site. Ideally, notices and warnings wouldn’t be displaying.

    Thread Starter ndoshi

    (@ndoshi)

    Thanks Andrew! That did it!

    I guess the PHP version change fixed the issue, but I forgot to turn debug back off after that so the errors were still showing up. I guess they were warning rather than major errors. I have zero experience configuring wordpress, so I apologize for the back and forth on that.

    All fixed! Much appreciated!

    Plugin Support Andrew Misplon

    (@misplon)

    Super, that’s great news ?? Glad to hear you’ve made progress.

    All the best.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘SiteOrigin – unexpected T_FUNCTION’ is closed to new replies.