Critical Errors
-
Following this morning’s update:
Having seen that my website was getting critical errors, and finding that a few of my plugins had stopped working, I decided to upload the troubleshooting plugin again.
It seems that any critical errors all disappear if ‘Easy Table of Contents’ is disabled whilst troubleshooting, and all of the aforementioned plugins work nicely again.
Enabling ETOC whilst troubleshooting causes all of the critical errors and non-working plugins to appear again.
Can we have a fix, please?
-
As an addendum to this issue, I uploaded the ‘Rollback’ plugin.
Noticing that there were updates to ETOC most days this week, I did a rollback of ETOC back to version 2.0.16 and it now works fine.
Fix still needed though!
Oh that’s strange,
Can you please share that error?
Not really, no.
I’ve just got my website working fine again after an hour of nagging other developers, when all along it was ETOC’s fault.
However if you really did want to see the error, add a copy of Link Whisper Pro to any website containing ETOC and check the results.
I have installed the free version of Link Whisper – https://wordpress.org/plugins/link-whisper/ but I am not able to recreate the same issue as it is working fine please check this screenshot – https://prnt.sc/Y-GGSi2KSwOv
But when I try to add the Link Whisper Pro then it is showing the license key error – https://prnt.sc/BxHKiJcubfvo and due to that, I am not able to check it with the Link Whisper Pro.
As we are not able to recreate the issue we need your help and for that will you please show me the error once by taking the error screenshot in just a minute or two so that we can check it once also will you please check the debug file once and if there is an error showing in debug log then please share it with us so that we can fix it immediately
It won’t show errors with the free version of link whisper, as the pro version is the one that gets the link results.
Hang on a minute, I’ll see what I can do…
Ok, so here’s Link Whisper Pro’s dashboard prior to installing the latest version of ETOC
Earlier version of ETOC…and here’s the Link Whisper Pro dashboard AFTER the latest version of ETOC had been re-installed:
On re-installing the latest version of ETOCNote how all of the links have vanished in the second image, and Link Whisper Pro thew up a critical error, but the error appeared in an ajaxified window and couldn’t be captured.
Back now to version 2.0.16 and waiting on a fix.
Due to my incredible shredding on a computer keyboard, I managed to grab the Link Whisper error message:
You can’t really tell much from the image, but at least it proves that the error is there I suppose.
Hi,
we have this:
PHP Fatal error: Uncaught Error: Call to a member function getTOC() on null in /var/www/html/wp-content/plugins/easy-table-of-contents/easy-table-of-contents.php:609 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(307): ezTOC::the_content('') #1 /var/www/html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array) #2 /var/www/html/wp-includes/post-template.php(253): apply_filters('the_content', '') #3 /var/www/html/wp-content/themes/xxxxx/includes/ajaxHooks.php(158): the_content() #4 /var/www/html/wp-includes/class-wp-hook.php(307): loadAjaxGet('') #5 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #6 /var/www/html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #7 /var/www/html/wp-admin/admin-ajax.php(202): do_action('wp_ajax_nopriv_...') #8 {main} thrown in /var/www/html/wp-content/plugins/easy-table-of-contents/easy-table-of-contents.php on line 609Here is my error log:
Ein Fehler vom Typ E_ERROR wurde in der Zeile 609 der Datei /home/www-data/wp-content/plugins/easy-table-of-contents/easy-table-of-contents.php verursacht. Fehlermeldung: Uncaught Error: Call to a member function getTOC() on null in /home/www-data/wp-content/plugins/easy-table-of-contents/easy-table-of-contents.php:609 Stack trace: #0 /home/www-data/class-wp-hook.php(307): ezTOC::the_content('') #1 /home/www-data/plugin.php(189): WP_Hook->apply_filters('', Array) #2 /home/www-data/wp-content/plugins/wp-worthy/class-wp-worthy-post.php(159): apply_filters('the_content', '') #3 /home/www-data/wp-content/plugins/wp-worthy/class-wp-worthy-post.php(198): wp_worthy_post::getPostContent('') #4 /home/www-data/wp-content/plugins/wp-worthy/class-wp-worthy-post.php(360): wp_worthy_post::getPostLength('', false) #5 /home/www-data/wp-content/plugins/wp-worthy/wp-worthy.php(2179): wp_worthy_post->updateLength() #6 /home/www-data/wp-includes/class-wp-hook.php(307): wp_worthy->adminSavePost(83197, Object(WP_Post)I’ve seen the same thing ^
We are extremely sorry for the inconvenience.
We are fixing the bug as we speak and pushing the update in few minutes.
We are extremely sorry for the inconvenience we have fixed the issue, will you please update our plugin to the latest version 2.0.21, and let us know
The new version 2.0.21 now seems to work properly.
Looks like I can get rid of the troubleshooting and rollback plugins for now.
Thanks for the update!
Glad to hear the issue has been resolved. I’m changing this topic’s status as resolved. If you have any other queries or issues, please create a new topic.
The topic ‘Critical Errors’ is closed to new replies.