• Resolved jimmycrackedcorn

    (@jimmycrackedcorn)


    I’m having an issue and this is the PHP error log:

    [29-Oct-2024 15:40:57 UTC] PHP Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /mnt/stor1-wc1-dfw1/371338/924838/www.bleigh.com/web/content/wordpress/wp-content/plugins/redux-framework/class-redux-framework-plugin.php on line 28

    It might be the same thing causing this error on this closed post.

    The PHP error happens even if the site doesn’t go into damage control mode. Every visitor today has logged this problem in the error log.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kev Provance

    (@kprovance)

    No, this is something different. We have changed the minimum PHP requirements for Redux to PHP 7.4 or higher. This error message in indicative that you are using some lower version (or some lower version is set in your .htaccess).

    The solution to to update the version of PHP you are running. 7.4 minimum. 8.2 is recommended. If you are unsure how to accomplish this, please contact whomever your web server provider is and ask them to update PHP to the latest version.

    Good luck.

    Thread Starter jimmycrackedcorn

    (@jimmycrackedcorn)

    Ok, I updated from 7.4.32 to 8.0.24. I’ll watch for more error logs.

    Thank you.

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