Website Performance Issue – High CPU Usage Due to Errors in Theme

This topic has 3 replies, 2 voices, and was last updated 4 months, 1 weeks ago ago by Acrdev

  • Avatar: Acrdev
    Acrdev
    Participant
    August 8, 2025 at 07:54

    Hello 8theme Support Team,

    I’m facing a serious performance issue with my website that is built using the XStore theme. The website frequently becomes extremely laggy, and the server CPU usage spikes to 100%, which significantly affects user experience.

    Upon checking the logs, I found multiple warning and error messages that seem to be related to the theme. These issues appear to be causing the high resource usage.

    I am attaching the logs/screenshots of the warnings and errors below for your review:

    Errors:
    PHP Fatal error: Uncaught Error: Call to a member function get_name() on null in /home/gadmnstps/public_html/wp-content/plugins/pro-elements/modules/theme-builder/documents/single-base.php:176

    WordPress database error Commands out of sync; you can’t run this command now for query SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (11) ORDER BY meta_id ASC made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core->send_headers, LiteSpeed\Control->finalize, LiteSpeed\Metabox->setting, get_post_meta, get_metadata, get_metadata_raw, update_meta_cache

    WordPress database error Commands out of sync; you can’t run this command now for query SELECT a.action_id FROM wp_actionscheduler_actions a WHERE 1=1 AND a.hook=’wc_schedule_pending_batch_processes’ AND a.status IN (‘in-progress’, ‘pending’) LIMIT 0, 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->Automattic\WooCommerce\Internal\BatchProcessing\{closure}, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->remove_or_retry_failed_processors, call_user_func, as_has_scheduled_action, ActionScheduler_Store->query_action, ActionScheduler_DBStore->query_actions

    Warning:
    PHP Warning: Undefined array key “animated_hearts” in /home/gadmnstps/public_html/wp-content/plugins/et-core-plugin/packages/xstore-wishlist/xstore-wishlist.php on line 195

    PHP Warning: Undefined array key “show_icon” in /home/gadmnstps/public_html/wp-content/plugins/et-core-plugin/packages/xstore-wishlist/xstore-wishlist.php on line 214

    Could you please check and guide me on how to fix or prevent these issues? I believe they might be related to some background processes or unoptimized elements in the theme.

    Looking forward to your help in resolving this.

    2 Answers
    Avatar: Alex Carter
    Alex Carter
    Support staff
    August 8, 2025 at 08:06

    Hello,

    Thank you for reaching out to us.

    Could you please provide temporary wp-admin and FTP access? We will check what can be done to help you.
    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Warm Regards,
    The 8Theme Team

    Avatar: Acrdev
    Acrdev
    Participant
    August 8, 2025 at 10:56

    Thanks for the support! My topic “Website Performance Issue – High CPU Usage Due to Errors in Theme” has been successfully resolved.

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Website Performance Issue – High CPU Usage Due to Errors in Theme’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.