• Hello, Ive been using this extension for years without a hiccup. But that last couple of times i have tried to install on 4.4.2 WordPress with 1.9.2 + magento

    On homepage of the blog (so /wblog/) i get this error:

    Fatal error: Call to a member function getCssJsHtml() on a non-object in /Users/adamjackson/Documents/Development/local/git/Monster-Magento/wblog/wp-content/themes/nailedit/header.php on line 20

    when getting

    <?php
    $head = get_block(‘head’, false);
    echo $head->getCssJsHtml(); // All CSS and JS files defined in your Magento head
    echo $head->getChildHtml(); <– Line 20!
    echo $head->helper(‘core/js’)->getTranslatorScript();
    echo $head->getIncludes();
    ;?>

    Get this though the inner pages of the blog work fine /wblog/404 shows the blog 404 as expected?

    Im absolutely stuck, tried everything i can think of, caches, indexes, whitelisting blocks

    Please help!

    https://wordpress.org/plugins/magento-wordpress-integration/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Call to a member function getCssJsHtml()’ is closed to new replies.