Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
lubesngreases
tagDiv Member

Hi Bettina,

Are there any updates from your developer?

Please let us know.

Thank you

lubesngreases
tagDiv Member

Hi Bettina,

Thank you for your response.

Upon reviewing the Newspaper theme’s changelog, I noticed the addition of the ‘new: Added a new shortcode Page Content Renderer;’ block in recent theme updates.

This new block, located in plugins\td-composer\legacy\Newspaper\includes\td_config_blocks.php at line 35935, utilizes the function td_config::get_pages_options_array(), which retrieves all pages regardless of their status.

The function itself is defined in plugins\td-composer\legacy\Newspaper\includes\td_config.php at line 7467. After activating the td composer plugin, we observed memory usage exceeding 550MB.

Our website contains 281 pages with substantial content. Consequently, when this block is loaded, we experience significant slow query issues. Please refer to the attached screenshots for details. When we modified the query to retrieve only 10 published pages per page, memory usage decreased to 50-55MB.

We attempted to override this method within our child theme, but were unsuccessful. Could you please advise if there is a method to resolve this issue through the child theme, or if a patch is planned?

Attachments:
Memory usage with all pages condition: https://prnt.sc/IZBUzIGel0fm
Memory usage with published and 10 pages counts condition: https://prnt.sc/5hJOSCjOLFEK

Thank You.

lubesngreases
tagDiv Member

Hi Bettina,

Thank you for your response.

After updating the Newspaper theme from version 12.6.8 to 12.6.9, our development team has identified a significant increase in memory consumption.

Key Observations:
– Before the update: The site performed well with a 512MB memory limit.
– After updating to 12.6.9: we had to increase the memory limit to 2GB, forcing us to increase the memory limit. However, our hosting provider does not recommend this change.
– Impact: Page load times have doubled, and excessive database queries (such as get_pages_options_array) appear to be contributing to the issue.

Live Comparison:
– Site with Newspaper 12.6.9 (Experiencing Issues): https://lngqa.wpengine.com/
– Live site running Newspaper 12.6.8 (Working Fine): https://www.lubesngreases.com/

Also please check the below screenshots of https://lngqa.wpengine.com/ site for before and after theme upgrade.
Before screenshot: https://prnt.sc/76MPjOxvUNNw
After screenshot: https://prnt.sc/Z0T_GDZLL5hV

Since this issue is directly tied to the latest theme update, can you please:
1. Confirm whether changes in version 12.6.9 could be causing increased memory usage?
2. Provide guidance on resolving excessive memory consumption and database queries?
3. Let us know if a fix or patch is planned?

We appreciate your prompt assistance in resolving this. Let us know if you need further details.

Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)