- This topic has 51 replies, 11 voices, and was last updated 4 years, 1 month ago by
Tom.
-
AuthorPosts
-
April 29, 2021 at 3:48 am #1755108
Markus
Hi there!
Fresh Installed – no other Plugin active:
WP 5.7.1.
GP Premium 2.0.0.
Generate Press 3.0.3/wp-admin/themes.php?page=generate-options
When I put my license key in the Updates form and press Save I get the WordPress Error
There has been a critical error on this website. Please check your site admin email inbox for instructions.
The mail says:
Typ E_ERROR wurde in der Zeile 489 der Datei /mnt/web521/b2/29/511318529/htdocs/public.html/wp-content/plugins/gp-premium/inc/activation.php verursacht. Fehlermeldung: Uncaught Error: Call to a member function get_error_message() on array in /mnt/web521/b2/29/511318529/htdocs/public.html/wp-content/plugins/gp-premium/inc/activation.php:489 Stack trace: #0 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-includes/class-wp-hook.php(292): generatepress_premium_process_license_key() #1 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #2 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-includes/plugin.php(484): WP_Hook->do_action() #3 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-admin/admin.php(175): do_action() #4 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-admin/options.php(19): require_once('/mnt/web521/b2/...') #5 {main} thrown
Any idea what to do?
Thank you for any hint.PS
I am using GP on 12 Websites, never had a problem like this, maybe a hosting problem?April 29, 2021 at 7:26 am #1755772Tom
Lead DeveloperLead DeveloperHi there,
Strange, there is no code on line 489.
Can you try re-installing GP Premium?
April 29, 2021 at 11:39 am #1756203Markus
Tom,
I re-installed the plugin, still the same message from WP, but no mail (yet).
And you are right, line 489 is empty.
The license field is now pre-filled.
April 29, 2021 at 11:43 am #1756212Tom
Lead DeveloperLead DeveloperDoes a message appear on the page when you click “Save”?
April 29, 2021 at 12:11 pm #1756246Markus
Yes.
There has been a critical error on this website. Please check your site admin email inbox for instructions.
April 29, 2021 at 12:54 pm #1756319Tom
Lead DeveloperLead DeveloperIt says that directly on the page? Is it still saying it’s on line 489?
April 30, 2021 at 12:01 am #1756927Markus
1. Question
Yes, just a blank white screen with this message.
2. Question
The indication for line 489 was sent via mail to the WP admin address. Unfortunately the mail was sent only once – first try. No mail came on later attempts.April 30, 2021 at 7:39 am #1757788Tom
Lead DeveloperLead DeveloperWhat is your
error_log
file saying on your server?I haven’t been able to reproduce this, so I’m assuming there’s something funky going on with the server.
May 1, 2021 at 4:51 am #1758814Markus
Tom,
I set wp_debug to true.
Now the blank white screen says:
Fatal error: Uncaught Error: Call to a member function get_error_message() on array in /mnt/web521/b2/29/511318529/htdocs/public.html/wp-content/plugins/gp-premium/inc/activation.php:499 Stack trace: #0 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-includes/class-wp-hook.php(292): generatepress_premium_process_license_key() #1 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #2 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-includes/plugin.php(484): WP_Hook->do_action() #3 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-admin/admin.php(175): do_action() #4 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-admin/options.php(19): require_once('/mnt/web521/b2/...') #5 {main} thrown in /mnt/web521/b2/29/511318529/htdocs/public.html/wp-content/plugins/gp-premium/inc/activation.php on line 499 There has been a critical error on this website. Please check your site admin email inbox for instructions.
Content of debug.log
[01-May-2021 12:48:45 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_error_message() on array in /mnt/web521/b2/29/511318529/htdocs/public.html/wp-content/plugins/gp-premium/inc/activation.php:499 Stack trace: #0 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-includes/class-wp-hook.php(292): generatepress_premium_process_license_key() #1 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #2 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-includes/plugin.php(484): WP_Hook->do_action() #3 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-admin/admin.php(175): do_action() #4 /mnt/web521/b2/29/511318529/htdocs/public.html/wp-admin/options.php(19): require_once('/mnt/web521/b2/...') #5 {main} thrown in /mnt/web521/b2/29/511318529/htdocs/public.html/wp-content/plugins/gp-premium/inc/activation.php on line 499
Does this help?
May 1, 2021 at 9:32 am #1759385Tom
Lead DeveloperLead DeveloperHmm, kind of. However, it shouldn’t be returning as an
array
– WordPress returns it as anobject
by default.You mentioned this is only happening on one site, correct? Is the license key activated when you refresh the page?
May 2, 2021 at 3:57 am #1760100Markus
Yes, only one site.
No, refresh does not help.May 2, 2021 at 10:23 am #1760738Tom
Lead DeveloperLead DeveloperThis would need some internal debugging via sFTP, unfortunately. Feel free to provide details privately if you’d like me to get in there and see what’s going on 🙂
May 2, 2021 at 11:42 am #1760813Markus
Tom,
thank you.You find the sftp credentials under private information.
Also, I added you as admin for this site.
May 2, 2021 at 8:06 pm #1761090Tom
Lead DeveloperLead DeveloperThanks!
I’m seeing a 403 forbidden message when debugging the response.
What’s your server IP? I can check to see if my server has blocked it – that could be causing the issue.
It could also be your server blocking the outgoing request. Whatever it is it’s preventing
wp_remote_post()
from even triggering WP_Error – it’s just going straight to a 404. Might be worth checking with your host here as well.Let me know 🙂
May 2, 2021 at 11:17 pm #1761235Markus
Tom,
a ping for the domains says: 81.169.145.80
What exactly shall I ask my hosting provider?
-
AuthorPosts
- You must be logged in to reply to this topic.