juliaeme
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Critical Error since update to version 7.6.0Hi @joy0114,
hi @ihereira ,
thanks for your fast and successful help in this case and sorry for my late answer. I was on the road, so I couldn’t check your solutions…
BUT: I had a conversation with the hoster of my friends website. He increased the php memory limit for testing to 256MB and the error was gone ?? So it seemed that @joy0114 directly had the right guess!!!
We will now buy an upgrade for the php memory limit.
You could not believe how much you helped me… I have a few more gray hairs because of that ??
I am very grateful to you!!!!
@joy0114, I don’t really know, what I should do with the php.ini. Can you explain it, if I still shall do something here?
Best regards from a very happy JuliaForum: Plugins
In reply to: [WooCommerce] Critical Error since update to version 7.6.0Hi @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 JuliaForum: Plugins
In reply to: [Music Player for WooCommerce] Fatal errorHi @codepeople
thank you so so much! Now it’s GDPR conform *juhu* ?? You have made my life easier!I’ll clarify with my client if we buy the pro version to support you. But I also want to thank you with a donation. Can you please send over a link where I can donate some money?
Thanks a lot and have nice weekend.
Forum: Plugins
In reply to: [Music Player for WooCommerce] Fatal errorHi @codepeople
Thanks so much for the answer. Ok, then maybe I can try some javascript here and add a div after the “#mep_0” etc…. There are different singers on the album and I want to mention them at the songs they sing.One last question:
The music player loads a cloudflare-script. Is this neccesary for the player to work or is there a possibility to remove this script?
Unfortunately we have that complicated GDPR thing in Germany.Best regards
Forum: Plugins
In reply to: [Music Player for WooCommerce] Fatal errorHi @codepeople!
Wow!!!!
I didn’t expect to get a response so quickly. What a great support!
Many many many thanks! It is working now!!! You made me very happy! ??I have one more question or comment: I would like to mention below each song the name of the song as well as the artist, but in 2 lines below each other in 2 different font-sizes/colors.
I don’t know how I can do this in woocommerce. There is only one line to insert something. And the result is also not in an own container, which I can style via css. Is this something which is a topic of woocommerce or is this something you can change/add/…
Thanks a lot and have a wonderful weekend.
Best regards from Germany`