Hi @joy0114
thanks for yor answer. I activated the debug mode in the wp-config file and it now says the following:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 184320 bytes) in /home/users/***/www/***/wordpress/wp-includes/class-wpdb.php on line 2431
Fatal error: Uncaught Error: Call to undefined function error_log() in /home/users//www//wordpress/wp-includes/class-wpdb.php:1846
Stack trace:
#0 /home/users//www//wordpress/wp-includes/class-wpdb.php(2372): wpdb->print_error()
#1 /home/users//www//wordpress/wp-includes/class-wpdb.php(3018): wpdb->query()
#2 /home/users//www//wordpress/wp-includes/option.php(199): wpdb->get_row()
#3 /home/users//www//wordpress/wp-includes/option.php(901): get_option()
#4 /home/users//www//wordpress/wp-content/plugins/ninjafirewall/lib/utils.php(986): get_transient()
#5 /home/users//www//wordpress/wp-includes/class-wp-hook.php(308): nf_check_dbdata()
#6 /home/users//www//wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#7 /home/users//www//wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #
8 /home/users//www//wordpress/wp-includes/load.php(1144): do_action()
#9 [internal function]: shutdown_action_hook()
#10 {main} thrown in /home/users//www//wordpress/wp-includes/class-wpdb.php on line 1846
line 2431 in class wp-db.php says: “$this->result = mysqli_query( $this->dbh, $query );”
After also activating “define( ‘WP_DEBUG_DISPLAY’, true );”, I get these errors in the backend:
Warning: Undefined array key "comment" in /home/users/***/www/***/wordpress/wp-content/plugins/woocommerce/src/Internal/Admin/Translations.php on line 84
Warning: Trying to access array offset on value of type null in /home/users/***/www/***/wordpress/wp-content/plugins/woocommerce/src/Internal/Admin/Translations.php on line 84
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/users/***/www/***/wordpress/wp-content/plugins/woocommerce/src/Internal/Admin/Translations.php on line 88
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/users/***/www/***/wordpress/wp-content/plugins/woocommerce/src/Internal/Admin/Translations.php on line 89
My debug log file has these errors:
[23-Apr-2023 12:18:28 UTC] PHP Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/users/***/www/***/wordpress/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-dashboard-setup.php on line 96
[23-Apr-2023 12:19:10 UTC] PHP Deprecated:? stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/users/***/www/***/wordpress/wp-content/plugins/music-player-for-woocommerce/pagebuilders/builders.php on line 85
[23-Apr-2023 12:19:11 UTC] PHP Fatal error:? Uncaught Error: Call to undefined function error_log() in /home/users/***/www/***/wordpress/wp-cron.php:129
Stack trace (which is the same as above):
#0 /home/users/***/www/***/wordpress/wp-includes/class-wpdb.php(2372): wpdb->print_error()
#1 /home/users/***/www/***/wordpress/wp-includes/class-wpdb.php(3018): wpdb->query()
#2 /home/users/***/www/***/wordpress/wp-includes/option.php(199): wpdb->get_row()
#3 /home/users/***/www/***/wordpress/wp-includes/option.php(901): get_option()
#4 /home/users/***/www/***/wordpress/wp-content/plugins/ninjafirewall/lib/utils.php(986): get_transient()
#5 /home/users/***/www/***/wordpress/wp-includes/class-wp-hook.php(308): nf_check_dbdata()
#6 /home/users/***/www/***/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#7 /home/users/***/www/***/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /home/users/***/www/***/wordpress/wp-includes/load.php(1144): do_action()
#9 [internal function]: shutdown_action_hook()
#10 {main}
thrown in /home/users/***/www/***/wordpress/wp-includes/class-wpdb.php on line 1846
I know that the host package of my friends website only has 128M PHP memory limit. I need to call the host if its possible to increase that. There was no change in the backend of wordpress at tools > website health, when I changed the value to 512M in the wp-config file. What I can’t understand is why woocommerce in the status tab says “WordPress memory limit 512 MB”. Is this a different memory size than the php memory size?
At server environement there is no size for the whole php memory listed. I only have:
PHP post max size: 60MB
Max upload size: 60 MB.
Sorry, this is the first website I create with WordPress and I have no experience with woocommerce or server settings.
Is there any more information you need?
Thanks a lot!
BR Julia