Search Results for 'cache'

Results from the Forum
midtcnick
tagDiv Member

Hi Calin – I disabled Object Cache (the site is hosted by WPEngine), and the issue resolved.

Thank you for your help!

ritughai
Participant
#0

Hi Team,

I am facing this issue on my website maverickmefoundation.com. Please help. I have already updated the theme and the plugins, but the error message is not going away. I have also flushed the cache files…

Thank you.

Ritu

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the td-cloud-library domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6121

Calin
tagDiv Staff

Hi,
Please set the main theme and clear all cache, after that check the website, the problem should be resolved.
Also, I set the code you have provided in chatgpt and this made some corrects and the code according to chatgpt should be like this – https://pastebin.com/qwuXms3M

Thank you!

midtcnick
tagDiv Member

Hi, it’s not a multisite, it’s just a site that has different headers on some pages.
We are getting errors like “Cannot find source for file 37556<-(the header ID) in path/to/page/with/messed/up/header.

It could be cache, but I disabled caching on those pages to try to diagnose the issue and it didn’t work.

Thanks for your help.

leejaehak
tagDiv Member

This is the debugging log.

[28-May-2022 17:12:56 UTC] PHP Deprecated: Function create_function() is deprecated in /volume1/web/wordpress/wp-content/themes/Newspaper-child/functions.php on line 80
[28-May-2022 17:12:56 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /volume1/web/wordpress/wp-config.php on line 87
[28-May-2022 17:12:56 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzencode() in /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:2275
Stack trace:
#0 /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(1962): wp_cache_get_ob(‘\nDeprecated: Fu…’)
#1 [internal function]: wp_cache_ob_callback(‘\nDeprecated: Fu…’, 9)
#2 /volume1/web/wordpress/wp-includes/functions.php(5275): ob_end_flush()
#3 /volume1/web/wordpress/wp-includes/class-wp-hook.php(307): wp_ob_end_flush_all(”)
#4 /volume1/web/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#5 /volume1/web/wordpress/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#6 /volume1/web/wordpress/wp-includes/load.php(1102): do_action(‘shutdown’)
#7 [internal function]: shutdown_action_hook()
#8 {main}
thrown in /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 2275
[28-May-2022 17:12:58 UTC] PHP Deprecated: Function create_function() is deprecated in /volume1/web/wordpress/wp-content/themes/Newspaper-child/functions.php on line 80
[28-May-2022 17:12:58 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /volume1/web/wordpress/wp-config.php on line 87
[28-May-2022 17:12:59 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzencode() in /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:2275
Stack trace:
#0 /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(1962): wp_cache_get_ob(‘\nDeprecated: Fu…’)
#1 [internal function]: wp_cache_ob_callback(‘\nDeprecated: Fu…’, 9)
#2 /volume1/web/wordpress/wp-includes/functions.php(5275): ob_end_flush()
#3 /volume1/web/wordpress/wp-includes/class-wp-hook.php(307): wp_ob_end_flush_all(”)
#4 /volume1/web/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#5 /volume1/web/wordpress/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#6 /volume1/web/wordpress/wp-includes/load.php(1102): do_action(‘shutdown’)
#7 [internal function]: shutdown_action_hook()
#8 {main}
thrown in /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 2275

Reference
To avoid confusion, please note that separate error pages such as 404 and 502 are coded to redirect to the main homepage.

  • This reply was modified 1 year by leejaehak.
Calin
tagDiv Staff

Hi,

Unfortunately the cache option is only on flex blocks.
If you want to make a few tests I will suggest to remove on homepage the youtube videos and for menu to replace all menus that are made using page or category with custom links – https://i.imgur.com/3TU1ttE.png this will reduce the number of queries and the website should become faster.

Thank you!

Calin
tagDiv Staff

Hi,
This situation can be caused by more situations.
– it is possible to have an offset on the block were it should be display the article (it can be checked using tagDiv Composer)
– it can be related to a cache that is apply on blocks, it can be a cache from a plugin or the cache from the blocks – https://forum.tagdiv.com/use-flex-blocks-cache-option/
If you already checked those and the problem persist, please contact us via email at contact@tagdiv.com, provide a temporary wp-admin access and we’ll check it out.
Thank you!

virajbpd
tagDiv Member

Hi Calin,

We are using object / redis cache on our websites.

As you have mentioned about flex block, but on the Homepage we are not using flex block, we are using only Blocks and there is not option of cache in that.

So, how can we set cache on block things?

Thanks & regards,
Prathimesh

jasm90
tagDiv Member

Gracias por los tips, pero no es la idea desactivar todo para que la Plantilla no consuma tanto recurdo de un Hosting o VPS. El problema de News Paper es que tiene un alto consumo de CPU cuando el administrador entra al editor Gutenberg. En algún momento de la edición del post llega a 60% o más cuando guarda el Post y ese problema es 100% del editor gutenberg con tagdv. Leí que hay un plugin Tagdv que sireve para cache pero no lo encontré en el Pack de la plantilla que se descarga de la página. Luego de Muchas pruebas en News Paper creo que no es la plantilla en en el FronEnd es más su plugin tagdv y Gutenmber que consumen mucho recurso a partir de las 5.000 publicaciones

Calin
tagDiv Staff

Hi,
Please exclude those classes in ewww image optimizer and cache plugin
td-modal-image
wp-image-

This should resolve the problem.

Antonio Ungaro
Participant
#0

Hi

These resources block the first page rendering (my site is http://www.sport24h.it). I tried serving the embedded core JS/CSS resources and deferring all non-core JS/styles resources with LiteSpeedCache ((I have to use this plugin because my hosting is with LiteSpeed), but it doesn’t work and the server response times are too slow.
I only use a small percentage of these resources, is there a way to lighten these css?

td-standard-pack/Newspaper/assets/css/td_standard_pack_main.css?ver=8ae1459a1d876d507918f73cef68310e
td-composer/css-live/assets/external/ace/ace.js?ver=492e3cf54bd42df3b24a3de8e2307cafx
td-composer/legacy/Newspaper/assets/css/td_legacy_main.css?ver=492e3cf54bd42df3b24a3de8e2307cafx
td-composer/legacy/Newspaper/js/tagdiv_theme.min.js?ver=12.7.1
style.css?ver=12.7.1

Antonio Ungaro
Participant
#0

Hi

These resources block the first page rendering (my site is http://www.sport24h.it). I tried serving the embedded core JS/CSS resources and deferring all non-core JS/styles resources with LiteSpeedCache ((I have to use this plugin because my hosting is with LiteSpeed), but it doesn’t work and the server response times are too slow.
I only use a small percentage of these resources, is there a way to lighten these css?

https://www.sport24h.it/wp-content/plugins/td-standard-pack/Newspaper/assets/css/td_standard_pack_main.css?ver=8ae1459a1d876d507918f73cef68310e
https://www.sport24h.it/wp-content/plugins/td-composer/css-live/assets/external/ace/ace.js?ver=492e3cf54bd42df3b24a3de8e2307cafx
https://www.sport24h.it/wp-content/plugins/td-composer/legacy/Newspaper/assets/css/td_legacy_main.css?ver=492e3cf54bd42df3b24a3de8e2307cafx
https://www.sport24h.it/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js?ver=12.7.1
https://www.sport24h.it/wp-content/themes/Newspaper/style.css?ver=12.7.1

Calin
tagDiv Staff

Hello,

If that file is indeed missing, then yes, if the tagDiv Composer plugin is reinstalled the file will be add back. Now if the problem is only sometimes, them most probably the problem is related to something else and it can be related to a cache that is delay the js file, in this situation what you should do is to skip from delay the js file tdAjaxSearch.js

Thank you!

Alessandro
tagDiv Member

Thank you as always, you’re truly an invaluable resource.

I cleared the cache and deactivated the SiteGround “Speed Optimizer” plugin, and now the image galleries are working perfectly on both the desktop and mobile versions.

I’ll now look into whether I can continue using the SiteGround plugin with different settings.

Have you encountered this issue before? Do you have any suggestions or best practices to ensure compatibility between Speed Optimizer and the Newspaper theme?

Thanks again, you’re amazing! 😊
Alessandro.

Calin
tagDiv Staff

Hi Alessandro,
This problem occur when you are logged in? If not, then the problem is related to some options from cache plugin that are apply when you are not logged in. Also, please check if you are using any plugin to optimize the images, is possible to interfere with the theme options and to create this situation.
Thank you!

Calin
tagDiv Staff

Hi,
This is a multisite where you are facing this situation? Can you please let us know if you are using cache, object cache …? If you have cache, is possible that after a period of time the wrong cache version to be delivered and after the cache is cleared to display the correct header.
Thank you!

jasm90
tagDiv Member

Asunto: Problemas persistentes con carga AJAX – Caché en bloques no fue efectivo

Estimado equipo de soporte de tagDiv,

Gracias por su respuesta anterior. Después de probar la solución recomendada de activar el caché para los bloques Flex, lamento informar que no produjo mejoras significativas en el rendimiento del servidor.

Actualmente operamos un sitio de noticias de alto tráfico con más de 10.000 publicaciones, y nuestra infraestructura incluye:

VPS optimo

Nginx, PHP 8.1 (FPM), Redis como caché de objetos

WP Rocket (totalmente optimizado), Cloudflare activo, y la última versión del theme Newspaper

No usamos WooCommerce ni funciones de suscripción – es un sitio exclusivamente de publicaciones

A pesar de tener todas las capas de caché activas y optimizadas, seguimos observando un alto consumo de CPU incluso en momentos sin visitas. Tras una revisión más profunda, la causa principal parece ser el uso de AJAX, especialmente:

admin-ajax.php?action=as_async_request_queue_runner

tareas en segundo plano generadas por el theme/plugins (probablemente vía Action Scheduler)

llamadas generales a admin-ajax generadas por el theme y el constructor

En este contexto, no es viable desactivar funcionalidades críticas o plugins simplemente para reducir la carga del servidor, especialmente considerando que muchas llamadas AJAX provienen de la estructura misma del theme (incluyendo tagDiv Composer y bloques dinámicos).

Necesitamos una solución técnica concreta y viable para reducir la sobrecarga de AJAX sin sacrificar funciones esenciales.

Agradeceríamos su orientación sobre lo siguiente:

¿Existe algún mecanismo interno o actualización en desarrollo para minimizar las consultas AJAX en segundo plano?

¿Es posible configurar tagDiv Composer o componentes del theme para reducir su dependencia de admin-ajax en entornos productivos?

¿Tienen prácticas recomendadas o configuraciones avanzadas específicamente para sitios con gran volumen de contenido que utilicen Newspaper?

Esperamos su orientación experta, ya que esta situación está afectando el rendimiento y la escalabilidad de nuestro sitio en producción.

Calin
tagDiv Staff

Hello,

In addition to using caching, Cloudflare, and Redis, I’d also recommend enabling caching for the Flex Block. This feature can make a noticeable difference by significantly reducing the number of server requests, especially on content-heavy pages.

It’s also good to keep in mind that, like any visual page builder, tagDiv Composer requires more resources while editing. This is perfectly normal. Real-time builders perform many background processes—adding, removing, and modifying elements, all of which generate multiple live requests. On websites with large databases (for example, those with a high volume of articles), using filters on blocks can slow things down a bit, as each block applies its own query to retrieve specific content.

This behavior is common across most live builders, not just tagDiv Composer. The system is working hard to provide instant feedback, which naturally increases resource usage.

What you can do:
A good next step would be to monitor resource usage and identify which pages or specific elements are using the most server resources. Often, features like AJAX filters or “most popular articles” widgets can be more demanding, since they constantly query the database for up-to-date information.

Identifying and optimizing these high-impact areas can help keep your site fast and responsive both for your visitors and during editing sessions.

Thanks again

teknobilimadami
Participant
#0

Dear TagDiv Support,

My website is the problem: https://teknobilimadami.com/

I am experiencing a critical issue on my WordPress site that is directly related to the Newspaper Theme. When attempting to upload media files, the system either stalls significantly or fails with a 503 Service Unavailable error, specifically affecting the async-upload.php process.

Sometimes I add an image and when I open and close the page, I see that the image with the error has been loaded.

But these happen in the Newspaper theme. When I switch to the 2025 wordpress theme, images are uploaded instantly from the Media – Add Media – Media Library section without any problems.

After thorough debugging over the past 48 hours, I have tested and ruled out all other possible causes. Below is a complete breakdown of actions I took:

1. Hosting and Configuration
– PHP: 8.1

– Hosting: LiteSpeed / Shared Hosting (GuzelHosting)

– Limits Increased to:

– max_execution_time = 300

– upload_max_filesize = 128M

– post_max_size = 128M

– memory_limit = 512M

– Cloudflare set to “Development Mode”, and later fully paused

– WP Rocket and cache tools disabled during tests

2. Steps Taken & Results

– Switching to Twenty Twenty-Five theme resolves the issue instantly. Image uploads are fast and reliable.

– Activating Newspaper theme causes:

– Slow or failed uploads

– DevTools shows async-upload.php requests returning 503 errors

– Hosting panel shows CPU limit exceeded only when Newspaper is active

– Plugins tested individually (only Rank Math, SMTP, and Converter for Media were active; Converter later disabled)

3. Functions.php and Theme Code Review

– Output buffer using ob_start(“sanitize_output”) was temporarily removed.

– Theme update filters (pre_site_transient_update_themes) commented out.

– Admin-side JS injection via admin_head tested and removed.

These changes made little to no difference — the core issue seems to lie deeper in Newspaper’s admin/AJAX logic.
4. Attached Visual Evidence (8+ screenshots)

Please find attached:

1. DevTools console error (503 on async-upload.php) : https://prnt.sc/qHY-ahJWeCbr

2. CPanel CPU usage exceeded panel : https://prnt.sc/V4Wcb6RWVm8O

3. Functions.php sample (Attachments)

4. Theme switched: Twenty Twenty-Five (success) : https://prnt.sc/XsbBJDqxrBK_

5. Theme active: Newspaper (failure) : https://prnt.sc/3ORZ-qt9OwHj

6. WordPress debug.log output (Attachments)

7. Network panel XHR timing chart : https://prnt.sc/T1_rYdno5uaL

8. Cloudflare paused, issue persists : https://prnt.sc/CKQqSZ2OlLc-

I attach all other detailed screen photos to the e-mail. (20 attach picture screenshot)

Final Note & Request

I believe this issue can only be resolved from the theme side, not via hosting or plugin tweaks. I kindly request:

– Review of internal AJAX handling within the Newspaper theme

– Guidance on patching or disabling blocks that might interfere with admin upload requests

– Confirmation if this is a known issue, and whether an update will address it

I truly want this resolved. I have done my part as much as possible. Now I believe your team can take over and fix this properly.
I sent you contact@tagdiv.com e-mail in more detail. I would like to ask for your help in solving the problem.

Calin
tagDiv Staff

Hi Prathimesh,

What I can recommend in this situation is to use an object cache / Redis and you can also use the cache from flex blocks elements – https://forum.tagdiv.com/use-flex-blocks-cache-option/

Thank you!

rtvcweb
tagDiv Member

hola compañeros, nosotros estamos en nuestra web en una configuración muy parecida a la vuestra, también con muchas mas de 10000 publicaciones, también somos un medio de comunicación, tenemos un servidor sobredimensionado para intentar mitigar el impacto del tema sobre el rendimiento. Algo que a nosotros, creemos, nos ha servido, ha sido configurar nuestro plugin de cache, “wp super cache”, en modo “experto” para que sea nginx quien atienda las peticiones de cache, para liberar a php un poco de carga, también optimizar la “OPcache” que estaba rozando el limite máximo, de todas formas, seguimos experimentando picos de carga en momentos aleatorios y a horas que no hay visitas, no somos los únicos por este foro con este problema concreto…

jasm90
tagDiv Member

Espero que se encuentren bien. Me gustaría exponer detalladamente las pruebas de rendimiento y la configuración de los plugins de optimización realizadas en el sitio http://www.itvpatagonia.com, con el fin de ofrecerles un contexto más claro sobre las conclusiones técnicas a las que hemos llegado respecto al rendimiento del theme Newspaper y el uso del plugin tagDiv Composer.
1. Plugins de Optimización Instalados

En el sitio web de http://www.itvpatagonia.com, hemos instalado y configurado los siguientes plugins de optimización para mejorar el rendimiento y la carga de las páginas:

WP Rocket: Configurado para la optimización de caché, precarga de caché, compresión de archivos estáticos, optimización de bases de datos, y optimización de scripts JavaScript y CSS.

Cloudflare: Usado como CDN y servicio de mitigación de ataques DDoS, con reglas específicas para excluir el backend de la caché y optimizar la entrega de contenido estático.

Redis: Configurado para optimizar la caché de objetos en el servidor, lo que ha ayudado a reducir los tiempos de respuesta de las consultas a la base de datos.

tagDiv Cloud Library: Plugin proporcionado por Newspaper para acceder a plantillas prediseñadas y optimizar el uso de recursos de la web.

Smush Pro: Usado para la optimización de imágenes, comprimiendo y redimensionando las imágenes para mejorar la velocidad de carga.

EWWW Image Optimizer: Complemento para optimizar aún más las imágenes y garantizar que estén en los formatos más ligeros posibles (incluyendo WebP).

2. Pruebas de Rendimiento y Revisión

A lo largo de este tiempo, hemos realizado diversas pruebas de rendimiento con herramientas como GTmetrix y Google PageSpeed Insights, así como evaluaciones internas utilizando New Relic y Query Monitor, para examinar el impacto de los plugins y la estructura del sitio.
Pruebas clave realizadas:

Rendimiento de carga: Con un volumen de alrededor de 10,000 publicaciones, observamos que la carga del sitio se ve afectada negativamente, especialmente al trabajar con tagDiv Composer y Newspaper.

Uso de CPU y memoria: Durante la carga masiva de contenido y la generación de nuevas páginas, experimentamos picos de uso de CPU, que no se lograron reducir completamente incluso después de optimizar todos los plugins de rendimiento mencionados.

Tiempo de respuesta del servidor: El tiempo de respuesta del servidor también se incrementa significativamente cuando el número de publicaciones excede las 10,000, independientemente de la optimización de caché y otros ajustes.

Problemas con tagDiv Composer: El plugin tagDiv Composer muestra un rendimiento inconsistente y no se comporta de manera óptima cuando se trabaja con grandes volúmenes de contenido. Esto afecta directamente la experiencia del usuario y la administración del sitio.

3. Conclusión Técnica

A pesar de la implementación y configuración de los mejores plugins de optimización disponibles, hemos llegado a la conclusión de que el tema Newspaper y su plugin tagDiv Composer no son capaces de funcionar de manera óptima con un volumen de contenido superior a 10,000 publicaciones. Este comportamiento se mantiene consistente a pesar de las múltiples configuraciones y ajustes en los plugins de rendimiento y cache.

Por tanto, la consulta técnica original no estaba relacionada con recomendaciones generales sobre qué plugins de optimización utilizar o qué tipo de hosting es el mejor. Ya hemos realizado todas las pruebas posibles en este sentido, y estamos en busca de una solución más profunda y técnica que considere los problemas de rendimiento inherentes al uso de Newspaper en sitios con grandes volúmenes de contenido.

Agradecería que, en lugar de proporcionar recomendaciones genéricas, pudiéramos recibir una revisión técnica detallada o incluso una actualización o mejora en los plugins/funcionalidades de Newspaper y tagDiv Composer que puedan garantizar el rendimiento adecuado en este tipo de sitios.

Quedo atento a su pronta respuesta.

simchris
tagDiv Member

I’ve been building websites since 1995 and FTP has *always* been the best way to update themes due to various localized file permissions, folder ownerships, how WordPress was installed (eg., WP can behave differently if installed via Plesk panel, etc.); time outs on your system during updates causing missing file, unzip issues at server level, mix of old/new files in some cases if server/domain/site/wp does not first properly remove the old files prior to install new ones; caching issues (are you disabling cache prior to updating?) causing mixed content; conflicting plugins, etc.

Just giving some friendly advice from an elder webdev who has “seen it all” over the years and we run in paranoia mode over here.

Good luck! (I don’t work here; but have used Tagdiv products since they launched). Not meaning any insult or anything, just some friendly feedback.

Calin
tagDiv Staff

Hi,

Please check if the wp rocket plugin is set as in our guide also using Redis will help a lot. Another cache that can be used the the cache from flex blocks elements – https://forum.tagdiv.com/use-flex-blocks-cache-option/ this should reduce the CPU, also you can use a plugin to monitories the elements and plugins that are consuming and when are consuming the resources.

Thank you!

Calin
tagDiv Staff

Hi,
This can be something related to gzip compression, I think that you are using the speedycache, please disable the gzip and clear the cachehttps://speedycache.com/docs/miscellaneous/how-to-enable-gzip-compression/
Thank you!

Viewing 25 results - 651 through 675 (of 29,810 total)