Bug in Newspaper system status

Posted in: Newspaper
Post count: 124

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!

Post count: 27744

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!

Post count: 124

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

Post count: 27744

Hello,

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

Thank you!

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