PHP Fatal error: Uncaught Error: Call to a member function children() on array
-
PHP 7.3.0
Wordpress 5.0
MaxButtons 7.7Got a fatal error with PHP 7.3.0:
PHP Fatal error: Uncaught Error: Call to a member function children() on array in /wp-content/plugins/maxbuttons/classes/maxCSSParser.php:61\nStack trace:\n#0 /wp-content/plugins/maxbuttons/classes/button.php(380): MaxButtons\\maxCSSParser->loadDom(Object(simple_html_dom))\n#1 /wp-content/plugins/maxbuttons/classes/button.php(476): MaxButtons\\maxButton->parse_button('normal')\n#2 /wp-content/plugins/maxbuttons/classes/button.php(889): MaxButtons\\maxButton->display(Array)\n#3 /wp-content/plugins/maxbuttons/classes/maxbuttons-class.php(593): MaxButtons\\maxButton->shortcode(Array)\n#4 /wp-includes/shortcodes.php(319): MaxButtons\\maxButtonsPlugin->shortcode(Array, '', 'maxbutton')\n#5 [internal function]: do_shortcode_tag(Array)\n#6 /wp-includes/shortcodes.php(197): pre...'
This causes the page to display incompletely. MaxButtons 7.7 was previously working with PHP 7.2.12.
There are also some less important warnings:
PHP Warning: Attempt to assign property 'outertext' of non-object in /wp-content/plugins/maxbuttons/blocks/container.php on line 48 PHP Warning: Attempt to assign property 'innertext' of non-object in /wp-content/plugins/maxbuttons/blocks/text.php on line 106 PHP Warning: Attempt to assign property 'href' of non-object in /wp-content/plugins/maxbuttons/blocks/basic.php on line 191 PHP Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /wp-content/plugins/maxbuttons/assets/libraries/simplehtmldom/simple_html_dom.php on line 694 PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/maxbuttons/assets/libraries/simplehtmldom/simple_html_dom.php on line 701 PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /wp-content/plugins/maxbuttons/assets/libraries/simplehtmldom/simple_html_dom.php on line 1389
- The topic ‘PHP Fatal error: Uncaught Error: Call to a member function children() on array’ is closed to new replies.