• Resolved tech-chat

    (@dumingu)


    Hi guys 
    
    I am struggling with this error that's causing me sleepless nights. Every time I activate woocommerce it cause a critical error and this is the error log 
    
    Iv tried almost everything, disabling plugins, changing Php, even rolling back but the issue persists.
    
    Some help would be appreciated greatly.

    [22-May-2022 12:42:30 UTC] PHP Parse error: syntax error, unexpected ‘?’, expecting variable (T_VARIABLE) in /home/i2tratvi/public_html/wp-content/plugins/woocommerce/vendor/symfony/polyfill-php80/bootstrap.php on line 29

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

Viewing 6 replies - 16 through 21 (of 21 total)
  • Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hello @dumingu!

    Thanks for following up again!

    tanking years of work because of a buggy plugin isn’t exactly the solution we are going for here

    I hear you!

    It sounds like a staging site would be a good idea. If your host doesn’t offer that option, we recommend WP Staging for quickly spinning up a new test site.

    neither is hiring a new dev who is going to go through the same channels

    The reason I offered the professional WordPress support link was due to the earlier offer to share your login details to your environment on this forum and let others handle the tasks for you. Kindly disregard it if you are not interested, please.

    In the meantime, do let us know the results after you go through the conflict test procedures provided earlier.

    Thanks!??

    Roxy

    (@roxannestoltz)

    Hi @dumingu ,

    Perfect!

    Please do let me know the outcome and we will take it from there.

    Best,

    Thread Starter tech-chat

    (@dumingu)

    Sadly no joy, the issue persists.

    Mirko P.

    (@rainfallnixfig)

    Hi @dumingu,

    The following step would be updating your Altair theme. You’re running version 5.1 but there is a newer version available according to the theme changelog.

    After that, if the issue persists, you may want to enable debug logging in WordPress. To do that, edit the wp-config.php file in the root folder of the site on the server. Add this:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    define( 'WP_DEBUG_LOG', true );

    You must insert this BEFORE /* That's all, stop editing! Happy blogging. */ in the wp-config.php file.

    As errors are logged, they should appear in wp-content/debug.log. You can open this file in a text editor and go from there.

    Here’s more information on debugging in WordPress:

    Debugging in WordPress

    If you encounter difficulties you can ask your host to help you enable debug logging.

    We will be here to assist further if needed.

    Change your .htaccess PHP version from 70 to 74. It worked for me.

    Mirko P.

    (@rainfallnixfig)

    Hi @dumingu,

    It’s been a while since we last heard back from you. I’m going to mark this thread as resolved.

    Hopefully, you were able to find a way forward with the issue and the above info was useful to you.

    Please feel free to create a new thread on the forum if you need further help.

    Thanks.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘php error’ is closed to new replies.