Viewing 3 posts - 1 through 3 (of 3 total)
This forum is now closed to new posts
All existing content remains available to browse and search. For support, please email us at contact@tagdiv.com Our team is happy to help as soon as possible.
Hi Bettina,
Are there any updates from your developer?
Please let us know.
Thank you
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.
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!
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-advertisement | 1 year | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Advertisement". |
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
| Cookie | Duration | Description |
|---|---|---|
| _ga | 2 years | This cookie is installed by Google Analytics. The cookie is used to calculate visitor, session, campaign data and keep track of site usage for the site's analytics report. The cookies store information anonymously and assign a randomly generated number to identify unique visitors. |
| _gat_gtag_UA_43963494_1 | 1 minute | This cookie is set by Google and is used to distinguish users. |
| _gid | 1 day | This cookie is installed by Google Analytics. The cookie is used to store information of how visitors use a website and helps in creating an analytics report of how the website is doing. The data collected including the number visitors, the source where they have come from, and the pages visted in an anonymous form. |
| Cookie | Duration | Description |
|---|---|---|
| IDE | 1 year 24 days | Used by Google DoubleClick and stores information about how the user uses the website and any other advertisement before visiting the website. This is used to present users with ads that are relevant to them according to the user profile. |
| test_cookie | 15 minutes | This cookie is set by doubleclick.net. The purpose of the cookie is to determine if the user's browser supports cookies. |
| VISITOR_INFO1_LIVE | 5 months 27 days | This cookie is set by Youtube. Used to track the information of the embedded YouTube videos on a website. |
| YSC | session | This cookies is set by Youtube and is used to track the views of embedded videos. |
| Cookie | Duration | Description |
|---|---|---|
| CONSENT | 16 years 5 months 26 days 13 hours 25 minutes | No description |
| yt-remote-connected-devices | never | This cookies is set by Youtube and stores the user's video player preferences using embedded YouTube video. |
| yt-remote-device-id | never | This cookies is set by Youtube and stores the user's video player preferences using embedded YouTube video. |