Fatal error: Uncaught Error: Call to a member function getBlock() on string
-
Hey!
Started using your plugin yesterday. Have no problems with static blocks but with other blocks I get an error:
Fatal error: Uncaught Error: Call to a member function getBlock() on string in *PATH*/template-functions.php:26 Stack trace: #0 *PATH*/layout-4.php(14): the_block('catalog.compare...') #1 *PATH*/template.php(564): require('/var/www/vhosts...') #2 *PATH*/template.php(521): load_template('/var/www/vhosts...', false) #3 *PATH*/general-template.php(171): locate_template(Array, true, false) #4 *PATH*/single.php(19): get_template_part('template-parts/...', '4') #5 *PATH*/template-loader.php(89): include('/var/www/vhosts...') #6 *PATH*/wp-blog-header.php(16): require_once('/var/www/vh in *PATH*/template-functions.php on line 26What could it be? Settings should be correct, Mage.php is found etc. Thank you for your help!
The topic ‘Fatal error: Uncaught Error: Call to a member function getBlock() on string’ is closed to new replies.