Server Load

Posted in: Newspaper
Post count: 11

Hi, I recently bought Newspaper theme. The moment I activate this theme the server load goes up like crazy and the entire site becomes non-functional. Once I revert to the previous theme, things are back to normal.

  • This topic was modified 3 years by tagdivnp.
Post count: 21065

Hello @tagdivnp!

Please provide more information about this issue or did you get some errors?

Thank you!

Post count: 11

There is no error, I can see load in WHM goes above 7 and remains so till the time the theme is active. I am not sure, why is this happening.

Post count: 21065

Hello @tagdivnp!

Check the theme requirements here: https://forum.tagdiv.com/requirements-for-newspaper/

Thank you!

Post count: 11

We are running on Litespeed and use Litespeed cache

Post count: 11

Care to reply?

Post count: 21065

Hello @tagdivnp!

Please note that page speed or optimization is not covered by the support team: https://forum.tagdiv.com/newspaper-theme-support/

Thank you!

Post count: 11

It happens when tagdiv standard pack is enabled

  • This reply was modified 3 years by tagdivnp.
Post count: 21065

Hello @tagdivnp!

We recommend to use cloud/PRO templates in order to have the possibility to edit them with the TagDiv Composer which contains a lot of functions and features, please check our tutorial here: https://forum.tagdiv.com/tagdiv-composer-tutorial/
More documentation about the cloud templates is here:
https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
https://forum.tagdiv.com/cloud-library-templates/
https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
https://forum.tagdiv.com/cloud-library-category-templates/

The Standard Pack plugin is useful only if you are using the default templates. Otherwise, you can uninstall it.

Thank you!

Post count: 11

I am seeing various errors in the error log

[02-Nov-2022 18:34:24 UTC] PHP Warning: Attempt to read property “name” on null in /home/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_category_template.php on line 183
[02-Nov-2022 18:34:24 UTC] PHP Warning: Attempt to read property “cat_ID” on null in /home/public_html/wp-content/plugins/td-composer/mobile/includes/category_top_posts_styles/td_category_top_posts_style_mob_1.php on line 29
[02-Nov-2022 18:34:39 UTC] PHP Warning: Undefined array key “widget_id” in /home/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php on line 2952
[02-Nov-2022 18:34:39 UTC] PHP Warning: Undefined array key “widget_id” in /home/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php on line 2952

[02-Nov-2022 16:28:27 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM abcd_options WHERE option_name = ‘_transient_timeout_global_styles_Newspaper’ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/td-composer/legacy/Newspaper/single.php’), get_header, locate_template, load_template, require_once(‘/themes/Newspaper/header.php’), do_action(‘tdc_header’), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, require_once(‘/plugins/td-composer/legacy/Newspaper/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_global_styles, wp_get_global_stylesheet, get_transient, delete_option

[02-Nov-2022 15:58:22 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM abcd_options WHERE option_name = ‘_transient_global_styles_’ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/td-composer/mobile/404.php’), get_header, locate_template, load_template, require_once(‘/plugins/td-composer/mobile/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_global_styles, wp_get_global_stylesheet, get_transient, wp_cache_get, WP_Object_Cache->get, WP_Object_Cache->_transient_get, delete_option
[02-Nov-2022 15:58:22 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM abcd_options WHERE option_name = ‘_transient_timeout_global_styles_’ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/td-composer/mobile/404.php’), get_header, locate_template, load_template, require_once(‘/plugins/td-composer/mobile/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_global_styles, wp_get_global_stylesheet, get_transient, wp_cache_get, WP_Object_Cache->get, WP_Object_Cache->_transient_get, delete_option
[02-Nov-2022 15:59:31 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM abcd_options WHERE option_name = ‘_transient_global_styles_svg_filters_’ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/td-composer/mobile/404.php’), get_header, locate_template, load_template, require_once(‘/plugins/td-composer/mobile/header.php’), wp_body_open, do_action(‘wp_body_open’), WP_Hook->do_action, WP_Hook->apply_filters, wp_global_styles_render_svg_filters, wp_get_global_styles_svg_filters, get_transient, wp_cache_get, WP_Object_Cache->get, WP_Object_Cache->_transient_get, delete_option
[02-Nov-2022 16:05:52 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM abcd_options WHERE option_name = ‘_transient_timeout_global_styles_Newspaper’ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/td-standard-pack/Newspaper/category.php’), get_header, locate_template, load_template, require_once(‘/themes/Newspaper/header.php’), do_action(‘tdc_header’), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, require_once(‘/plugins/td-standard-pack/Newspaper/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_global_styles, wp_get_global_stylesheet, get_transient, wp_cache_get, WP_Object_Cache->get, WP_Object_Cache->_transient_get, delete_option

These all errors are related to Newspaper theme

Post count: 21065

Hello @tagdivnp!

Please update your php version. Check out some known possible factors which can interfere with our theme: https://forum.tagdiv.com/general-options-may-interfere-newspaper-theme/

Thank you!

Post count: 11

Which PHP version do you want me to use?

Post count: 21065

Hello @tagdivnp!

For example, I’m using the 7.4.19 version. Check the theme requirements here: https://forum.tagdiv.com/requirements-for-newspaper/
Also, make sure you do not use untested plugins with our theme.

Thank you!

Post count: 11

Do you want me to use an older PHP version? I see this on the theme system status https://postimg.cc/CZMV2N2F

  • This reply was modified 3 years by tagdivnp.
Post count: 21065

Hello @tagdivnp!

The recommended PHP version is 7.4 or greater.

Thank you!

Post count: 11

So, that you case your suggestion of updating PHP version doesn’t work as we are already on 8.0

Post count: 21065

Hello @tagdivnp!

We need to investigate those errors that appear in your console and let you know what can be done there.
Contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– a link to this topic in order to identify you

Thank you!

Post count: 11

Mail sent.

Post count: 11

The allocated memory is 256M. I also got this error on the home page when I clicked the edit css button

Fatal error: Out of memory (allocated 94896128) (tried to allocate 2097152 bytes) in /home/abcd/public_html/wp-content/plugins/td-composer/includes/tdc_main.php on line 949

Fatal error: Out of memory (allocated 94896128) (tried to allocate 73728 bytes) in /home/abcd/public_html/wp-includes/class-wpdb.php on line 2187

When I reloaded, I got this error

Fatal error: Out of memory (allocated 94896128) (tried to allocate 2097152 bytes) in /home/abcd/public_html/wp-content/plugins/td-composer/includes/tdc_main.php on line 949

  • This reply was modified 3 years by tagdivnp.
Post count: 21065

Hello @tagdivnp!

Ok, I’ll check. Please let’s continue the discussion via email so we can avoid duplicate answers.

Thank you!

Viewing 20 posts - 1 through 20 (of 20 total)
The forum ‘Newspaper’ is closed to new topics and replies.