berkux
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Memory-Usage] v2.2.0 lost a lot of values?Very good, you’re welcome to write a review
Forum: Plugins
In reply to: [WP-Memory-Usage] v2.2.0 lost a lot of values?Forum: Plugins
In reply to: [WP-Memory-Usage] v2.2.0 lost a lot of values?hi steve,
I‘ll check that. Thanks for asking.
bernhard
Forum: Plugins
In reply to: [WP-Memory-Usage] Unable to save settings and create log directory.Hi,
Version 2.2.0 now has the option to save settings and logs in the wp-db. Switch to db if saving in files is not successful.
Best
BernhardForum: Plugins
In reply to: [WP-Memory-Usage] Unable to save settings and create log directory.Hi,
on saving the settings version 2.1.1 would show “not saved” if target-dir / file is not writeable.
Please check Tab “Check installation”.
BernhardForum: Plugins
In reply to: [WP-Memory-Usage] Unable to save settings and create log directory.Hi, thanks for using the plugin!
Check the “Settings”-Tab of the plugin:
There are “Log directory exists“, “Log file write & read test” etc.
Both settings and Logfiles should be stored at ABSPATH. ‘../logs/wpmu/’
This path is not changeable…
manually:
mkdir -p /home/21336.cloudwaysapps.com/wccfsgjmds/public_html/../logs/wpmu/
then:
chmod 755 /home/21336.cloudwaysapps.com/wccfsgjmds/public_html/../logs/wpmu/
Bernhard
PS: Version 2.1.1 will have better errorhandling.Forum: Plugins
In reply to: [WP-Memory-Usage] Unable to save settings and create log directory.hi,
the path to the logfile is yet not changeable. It’s definitely not
Unable to save settings and create log director
public_html/logs/wpmu/as this would make the logfiles public available.i check that, if the logfile cant be used below public_html this feature cant be used, sorry.
bernhardForum: Plugins
In reply to: [WP-Memory-Usage] WordPress memory useFurther debugging: I reduced the plugin step by step until only
memory_get_peak_usage()remained. At PHP 8.4 the measured peak was still 38 MB; at PHP 8.5 it was only 8 MB.To investigate, I added a Diagnose tab (new in version 2.1.0): it captures a full PHP/WordPress configuration snapshot and generates a ready-to-paste AI prompt for analysis.
Comparing the snapshots from my PHP 8.4 and PHP 8.5 environments revealed that OPcache was disabled on 8.4 and enabled on 8.5 — which is most likely the reason for the difference.
Could you confirm whether that is indeed the cause?
Forum: Plugins
In reply to: [WP-Memory-Usage] WordPress memory useHi @martje65, very good question. I can reproduce this, plus: PHP 8.4 also has 40 MB . But, surprise: PHP 8.5 only 8 MB. Can you try PHP 8.5 please?
It is possible that PHP 8.3 handles the loading ofwp-admin/includes/file.phpor the initialization of theWP_Filesystemclass with higher memory overhead than 8.2, but this would need to be confirmed with a profiler.Hi @hatthabasel
further research: There was new code in the plugin requiring PHP >=8,
You might have PHP 7… on your server.
Version 2.0.2: Replaced PHP 8 syntax (match expressions) with PHP 7 compatible code for broader server compatibilityForum: Plugins
In reply to: [WP-Memory-Usage] Digest log not exist if no events, throwing warningHi,
thanks a lot! You’re right. Version 2.0.1 comes with this:if ( $wp_filesystem->exists( $file ) ) {
if ( ! $wp_filesystem->move( $file, $backup, true ) ) {
error_log( 'File move failed: ' . $file );
}
}Bernhard
Forum: Plugins
In reply to: [WP-Memory-Usage] Possible data breach?hi, thanks for checking that. The Idea is to put the logfiles out of public reach. In the Uploaddir the logfiles might be public. The dir below abspath should be out of reach. A random dir in the uploaddir might be Another way, but only Security by obscurity.
BernhardHi @hatthabasel
thank you! This is not good. I tested in many ways but “Plugin could not be activated because it triggered a fatal error.” is bad.
To find out the reason: Do you have any WP-Debug- or PHP-Logfiles? In case you want to proceed with private info you can use https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no to communicate with me.
Thank you,
BernhardForum: Plugins
In reply to: [Get Use APIs - JSON Content Importer] Block API Version deprecatedPerfect!
Forum: Plugins
In reply to: [Get Use APIs - JSON Content Importer] Plugin breaks Divi builder (version 4)Glad to read that!