Fatal PHP error without
-
Since the last update to 2.0.1 I receive on those post, where no heading is used, the errormessage below.
I did not analyse in detail, but deactive the TOC on every affected post manually.
br, Martin
Fatal error:
Uncaught Error: Call to a member function insertBefore() on null in …/wp-content/plugins/luckywp-table-of-contents/plugin/Dom.php:68
Stack trace:
#0 …/wp-content/plugins/luckywp-table-of-contents/plugin/Dom.php(46): luckywp\tableOfContents\plugin\Dom::nodeInsertHtml(NULL, ‘[lwptoc]’, true)
#1 …/wp-content/plugins/luckywp-table-of-contents/front/Front.php(168): luckywp\tableOfContents\plugin\Dom::beforeNodeInsertHtml(NULL, ‘[lwptoc]’)
#2 …/wp-includes/class-wp-hook.php(288): luckywp\tableOfContents\front\Front->autoInsert(‘<p>Update: …’)
#3 …/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘<p>Update: …’, Array)
#4 …/wp-includes/post-template.php(253): apply_filters(‘the_content’, ‘Update: 31….’)
#5 …/wp-content/themes/gridbox-mh/template-parts/content-single.ph in …/wp-content/plugins/luckywp-table-of-contents/plugin/Dom.php on line 68
- The topic ‘Fatal PHP error without’ is closed to new replies.