Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1462680

    I have a client website that is receiving 502 and 504 error codes. We have made several of the changes the hosting company recommended including updating to the newest Enfold theme. The hosting company is saying it is because of an error in the PHP and to contact theme support. Below is a copy of the transcript from the hosting support call and our client. Does this error seem like it is something with the Enfold theme? Or could this be one of the plugins we are using? We tried deactivating all plugins and it did not help with the errors. Or can you advise us what to tell hosting? Thank you!

    (06:36:31) Taoufik E.
    The site has some PHP errors, I believe they’re stemming from the enfold theme. These errors are causing the 502 and time out errors
    (06:36:34) Taoufik E.
    [18-Jul-2024 01:22:46 America/Denver] PHP Fatal error: Uncaught Error: Class ‘WP_Dependencies’ not found in /home/wynneb5/public_html/wp-includes/class-wp-styles.php:18
    Stack trace:
    #0 {main}
    thrown in /home/wynneb5/public_html/wp-includes/class-wp-styles.php on line 18
    [18-Jul-2024 01:23:50 America/Denver] PHP Fatal error: Uncaught Error: Call to undefined function get_the_block_template_html() in /home/wynneb5/public_html/wp-includes/template-canvas.php:12
    Stack trace:
    #0 {main}
    thrown in /home/wynneb5/public_html/wp-includes/template-canvas.php on line 12
    [18-Jul-2024 01:25:00 America/Denver] PHP Warning: Use of undefined constant ABSPATH – assumed ‘ABSPATH’ (this will throw an Error in a future version of PHP) in /home/wynneb5/public_html/wp-includes/blocks/index.php on line 8
    [18-Jul-2024 01:25:00 America/Denver] PHP Warning: Use of undefined constant WPINC – assumed ‘WPINC’ (this will throw an Error in a future version of PHP) in /home/wynneb5/public_html/wp-includes/blocks/index.php on line 8
    [18-Jul-2024 01:25:00 America/Denver] PHP Warning: require(ABSPATHWPINC/blocks/legacy-widget.php): failed to open stream: No such file or directory in /home/wynneb5/public_html/wp-includes/blocks/index.php on line 11
    [18-Jul-2024 01:25:00 America/Denver] PHP Fatal error: require(): Failed opening required ‘ABSPATHWPINC/blocks/legacy-widget.php’ (include_path=’.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear’) in /home/wynneb5/public_html/wp-includes/blocks/index.php on line 11
    [18-Jul-2024 01:26:30 America/Denver] PHP Fatal error: Uncaught Error: Class ‘WP_Widget’ not found in /home/wynneb5/public_html/wp-includes/widgets/class-wp-widget-block.php:17
    Stack trace:
    #0 {main}
    thrown in /home/wynneb5/public_html/wp-includes/widgets/class-wp-widget-block.php on line 17
    [18-Jul-2024 14:12:35 UTC] Cron reschedule event error for hook: action_scheduler_run_queue, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {“schedule”:”every_minute”,”args”:[“WP Cron”],”interval”:60}
    [18-Jul-2024 16:45:40 UTC] PHP Warning: include_once(): Failed opening ‘/home/wynneb5/public_html/wp-content/plugins/uncanny-learndash-toolkit/uncanny-learndash-toolkit.php’ for inclusion (include_path=’.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear’) in /home/wynneb5/public_html/wp-settings.php on line 522
    (06:37:28) Taoufik E.
    You should really contact the devs of this theme or consult with your developer. The issue is not the infrastructure here, the theme and they it works with the plugins should be reviewed by a devloper

    #1462699

    Hey jolynndeal,

    I can’t see any theme errors in there, what happens if you deactivate all plugins and custom code you might have added? Note that both of the error messages are gateway errors, they are very unlikely caused by a theme.

    Best regards,
    Rikard

    #1462710

    Hi Rikard.
    I think this may be something with the WordPress Jetpack plugin. I just deactivated all plugins again and when reactivating that one, the issue happened again. I’ll keep you posted. Other than that, do you think it could be the PHP memory or CDN? Thanks so much!

    #1462749

    Hi,

    Thanks for the update. I don’t think it’s a memory problem, the error messages would likely be different then. I’m not too familiar with CDN problems, but I don’t think that they would generate PHP error messages.

    Best regards,
    Rikard

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