Search Results for 'memory'

Results from the Forum
Redlemon
tagDiv Member

Hi Anamaria,

Working in Gutenberg I have no such issues with the very same shortcodes whatsoever. One of them is even generated directly from inside the functions.php which does not come in conflict with de-activating all plugins for the purpose of this testing.

In staging I checked the .htaccess file and the following rules are present:
<IfModule mod_substitute.c>
SubstituteMaxLineLength 10M
</IfModule>
# END WordPress

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
php_flag display_errors Off
php_value max_execution_time 60
php_value max_input_time 60
php_value max_input_vars 5000
php_value memory_limit 384M
php_value post_max_size 64M
php_value session.gc_maxlifetime 1440
php_value session.save_path “/var/cpanel/php/sessions/ea-php74”
php_value upload_max_filesize 64M
php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
php_flag display_errors Off
php_value max_execution_time 60
php_value max_input_time 60
php_value max_input_vars 5000
php_value memory_limit 384M
php_value post_max_size 64M
php_value session.gc_maxlifetime 1440
php_value session.save_path “/var/cpanel/php/sessions/ea-php74”
php_value upload_max_filesize 64M
php_flag zlib.output_compression Off
</IfModule>

Additionally I tried de-activating all plugins except for the four tagdiv ones, to no avail.

Saving the theme does not throw any errors. It just seems impossible for the shortcode edit to be saved once inserted in the edit content popup box. I’ve tried both the “text with title” and the “column text” modules, and they both behave the same way.

Please kindly note that Simion from your team has recently checked our configuration from within the WP back-end AND the cPanel, and has confirmed that everything configuration-related is in the correct order. So it shouldn’t be – and it does not seem or feel to be – a configuration issue.

I have forwarded you an email on your support email with an attachment of our showcasing the described issue. For your convenience, the subject of that email was “screen recording showcasing issue with saving of module with shortcode”.

What is the correct series of steps to follow in order to successfully save the inserted content in the edit content popup box?

Please review and advise.

Thank you!

danielaguilar
tagDiv Member

Módulo Cambio en archivos
Tipo Advertencia
Copias de seguridad de bases de datos 0 añadido, 0 borrado, 2 con cambios
Marca temporal 2021-02-14 19:59:39
Usuario
URL Tarea programada WP-Cron
Cambió
wp-content/wflogs/config-livewaf.php
wp-content/wflogs/config-transient.php
Borrado
Añadido
Memoria total 73.62 MB
Memoria en Uso 10.42 MB
Detalles en bruto
Ocultar detalles en bruto

id => 1527
module => file_change
type => warning
code => changes-found::0,0,2
timestamp => 2021-02-14 18:59:39
init_timestamp => 2021-02-14 18:59:36
remote_ip => 185.76.77.11
user_id => [empty string]
url => wp-cron
memory_current => 63184656
memory_peak => 69707096
data => Array
added => Array()
removed => Array()
changed => Array
wp-content/wflogs/config-livewaf.php => Array
d => [integer] 1613328151
h => da66d1c753b2b97fe818b1d9df93b7db
t => c
s => [integer] 1
p => Desconocido
wp-content/wflogs/config-transient.php => Array
d => [integer] 1613294681
h => 6d7eca03b802c40aac869e0b4311c8ac
t => c
s => [integer] 1
p => Desconocido
memory => [double] 10.42

Anamaria
tagDiv Staff

Hello,

Normally should not affect if the wp_memory_limit (this is used for WordPress) is higher than PHP Memory Limit.

Thank you!

anderss1
tagDiv Member

Okay great, but WP_MEMORY_LIMIT cannot be higher than PHP Memory Limit correct? This means you need a safe guard in that front?

Anamaria
tagDiv Staff

Hello,

That was a design mistake. Isn’t php memory limit is wp_memory_limit and usually this option is set in wp-config.php
This design issue will be fixed in the next theme update.

Thank you for your understanding!

anderss1
Participant
#0

On the page=td_theme_welcome is says:

PHP Version 7.4.14 (set by host system)
PHP Memory Limit 256 MB (set in wp-config.php by me)
PHP Execution Time 49000 (set in .user.ini by me)
PHP Max Input Vars 4900 (set in .user.ini by me)

However, if I check phpinfo() from a PHP file it says:

memory_limit 128M

I do have a setting in wp-config.php:

define(‘WP_MEMORY_LIMIT’,’256M’);

So this seems to be a bug in the Newspaper theme.

It appears that I have to create a .user.ini file and put it in the root folder of the server. In this file I have the statement:

memory_limit = 256M

so now I think both PHP _and_ WordPress really have a 256MB limit.

Maybe the td_theme_welcome page should be updated to reflect the lowest of the two? Anyway, to claim that the PHP memory limit is 256MB when it is 128MB seems incorrect.

Cheers!

reici
Participant
#0

How can we get rid of DOM content?

https://gtmetrix.com/reports/reishe.com/Qp9T3Ped/#

Med-High
Avoid an excessive DOM size
A large DOM will increase memory usage, cause longer style calculations, and produce costly layout reflows.

STATISTIC VALUE
Total DOM Elements 2,966
Maximum DOM Depth 28
Maximum Child Elements 26

Whenever I test gtmetrix, I get a warning about DOM content. Other newspaper-themed sites do not have such a problem. Why do I have my site? How do I get rid of around 3000 DOM content? Where am I making a mistake? How can I find a solution? Why might it be caused? I will be glad if you help …

reici
Participant
#0

How can we get rid of DOM content?

https://gtmetrix.com/reports/reishe.com/Qp9T3Ped/#

Med-High
Avoid an excessive DOM size
A large DOM will increase memory usage, cause longer style calculations, and produce costly layout reflows.

STATISTIC VALUE
Total DOM Elements 2,966
Maximum DOM Depth 28
Maximum Child Elements 26

Whenever I test gtmetrix, I get a warning about DOM content. Other newspaper-themed sites do not have such a problem. Why do I have my site? How do I get rid of around 3000 DOM content? Where am I making a mistake? How can I find a solution? Why might it be caused? I will be glad if you help …

gabrod
Participant
#0

Disregard.

sam.sofx
Participant
#0

I change some of the color of theme but its not updated, i tried to clear cache but still not working.
Memory limit is 256mb. I tried to deactivate plugins and still not working

danos
Participant
#0

After an unsuccessful attempt to update the theme I had to restore a client website http://www.serrespost.gr from a plesk backup. Since then the mobile theme does not work and I get a message :
——————————————————————–
This version of the tagDiv Mobile Theme plugin is not supported by the current activated theme!
Please make sure you’ve updated the theme properly! Follow this guide.

——————————————————————–
The theme version I use is the NewspaperVersion: 10.3.2 and the mobile themes I tried are versions 1.1 – 1.3 and the latest mobibile theme. I haven’t tried the 1.2 because I don’t know where to download. I faced the problem once again in the the past when, again, I tried to update the theme and I had to restore form backup. That first time I managed to solve the theme updating the mobile theme but this time I cannot find a solution.

I would appreciated if has a possible solution. Also, can I download from somewhere the mobile theme version 1.2 ?

Here is my status report:
Theme config
Registration key i 0a59519b – **** – **** – **** – 31b6b925c86e Reset key
Theme name i Newspaper
Theme version i 10.3.2
Theme database version i 10.3.2
HTTP channel test wordpress
Installed demo i Default – demo ID: default | install type: full
php.ini configuration
Server software i Apache
PHP Version i 7.3.26
post_max_size i 8M – You cannot upload images, themes and plugins that have a size bigger than this value. To see how you can change this please check our guide here.
max_execution_time 30 – the execution time should be bigger than 60 if you plan to use the demos. To see how you can change this please check our guide here.
max_input_vars 1000 – the max_input_vars should be bigger than 2000, otherwise it can cause incomplete saves in the menu panel in WordPress. To see how you can change this please check our guide here.
SUHOSIN installed false
PHP extensions
mbstring available
GD library available
WordPress and plugins
WP Home URL i https://www.serrespost.gr
WP Site URL i https://www.serrespost.gr
WP version i 5.6.1
WP multisite enabled i No
WP Language i el
WP Memory Limit 256 MB/request
WP_DEBUG False
Caching plugin No caching plugin detected – for best performance we recommend using WP Super Cache

Smitesh More
Participant
#0

I have recently bought a newspaper theme and activated it with all required plugins.Also set all required parameters of PHP and WordPress memory limit.
Still while editing page tagDiv composer/editor is not working and shows
Error: ERR_HTTP2_PROTOCOL_ERROR might be temporarily down or it may have moved permanently to a new web address.

yeiji shon
tagDiv Member

My homepage already has more than 200MB of PHP memory. I think we need time to change after modification. It may or may not work in a few hours. It’s been resolved after a while. Thank you.

unixmen
tagDiv Member

Solution is found. PHP memory should be above 200MB .

Jagan
Participant
#0

Hi all

I have been trying to increase the WP Memory Limit but its not getting updated, I have increased it in the cpanel php settings and wp-config file. But nothing seems to work, the system status still shows 40M while I have upgraded it to 256M via settings. Please help.

Thejoker88
tagDiv Member

Thanks alot Bettina. I did all the steps above and the problem seems to have gone away now. Not sure if it was the memory limit or the cache causing the issue. Either way, fingers crossed it doesn’t happen again. Appreciate the help.

I’m not sure if I should start another thread about this, but how do I show “related posts” at the sidebar?
https://imgur.com/B16Y6Qf

Thanks

TAPA-GLOBAL
tagDiv Member

Hi Bettina,

Thank u. Our website is working fine now. I think its because of the inadequate memory and we are not having this issue now that we have increased the memory.

Bettina
tagDiv Staff

Hello!

Please increase your memory limit by following our guide: https://forum.tagdiv.com/system-status-parameters-guide/
Also, the issue can be from a plugin conflict, that’s why, please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Let me know about your results!

Thank you!

danielkostuj
tagDiv Member

Keep your data there for you and you will see for yourself. I am still struggling with such a mistake Fatal error: Out of memory (allocated 35651584) (tried to allocate 40960 bytes) in /home/klient.dhosting.pl/lucjamagoch/czasostrefa.pl/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 2883

Thejoker88
Participant
#0

I am facing a problem with the mega menu categories post load. The loading spinner just loads infinitely and doesn’t show the articles. Please refer to below image:

https://i.imgur.com/uLFgbE8.jpg

The same thing also happens to the ajax loader in blocks.
https://i.imgur.com/f8ac3S3.jpg

I’ve tried all three options at the mega menu preloader. No preload (default), optimized preload, and preload all. Neither made a difference.

My site doesn’t have any issues so far. Everything else runs smoothly. There is a warning that my PHP memory limit is insufficient. Im not sure whether this is affecting it? https://i.imgur.com/VM4aZn9.png

Please help!

Bettina
tagDiv Staff

Hello!

All seems to be alright. Check also about some external plugins which you use.
Sometimes some unoptimized plugins can be the cause of the memory.
Also, you can try to increase Wp memory limit.

Thank you!

sionkosionko
tagDiv Member

I was really just trying to help you.

To it , Open the wp-config.php file and search for these lines:

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);

Just before these lines, insert the following code:

/** WP memory increase and max allowed memory for administration */
define( ‘WP_MEMORY_LIMIT’, ‘512M’ ); // Increases allowed memory for wordpress application.
define( ‘WP_MAX_MEMORY_LIMIT’, ‘512M’ ); // Increases allowed memory for administration area.

A Wonderfull day to you also…. Remember to enjoy the people who actually trying to help you! 🙂

Eduardi
tagDiv Member

Solved: I had to increase server memory limit

compuedge
Participant
#0

How am I supposed to change this when the link for help does not fit the theme at all.

Where do I put it, or where do I change this setting.

The help link does not make any sense.

irmankarim
Participant
#0

Hi! My website server kept down even after I move it to its own server.
The memory is always exhausted. Previously I was on shared hosting. But now I have moved it to dedicated hosting with 2CPUs, 2GB Memory, 60GB Disk. What is causing the memory to be exhausted?

Viewing 25 results - 651 through 675 (of 3,046 total)