WP4.7 Sorry, that block could not be found.
-
Hi Krischase,
I’m a WP/Magento developper.
I was seduced by your MWI plugin as it take a clean approach : simply display a magento block.Unfortunately, I can’t manage to get it work.
I’ve got a Magento custom block declared in local.xml which is correctly rendered in Magento.
In Wp, I insert a simple<?php the_block('block-name') ?>
in my template file.
I’m always getting the message “Sorry, that block could not be found.”.It seems like the $name parametrer isn’t correct. But it is.
I tried with other block name (magento default or custom), I tried with get_block(), the_block(), etc.
The answer is always “Sorry, that block could not be found.”.Can you point me in the right direction ?
Thanks for your help.Here’s some details :
WP 4.7, WPML plugin
WP is installed in the server root directory.
MWI Setup : ~magento-root/app/code/local/Mage/Core/functions.php changed and uploaded.
MWI setup : Mage.php is found, package and theme name are correct, Website Code ‘base’ is correct (My website is recognize as “Available Magento Websites”Magento 1.9.3.1
Magento is installed in ~server-root/shop/ directory
cache is disabled (for now)
My magento theme rely on “RWD” theme (shop\app\design\frontend\my-package\default\etc\theme.xml : <theme><parent>rwd/default</parent></theme>)Thanks again for your support.
- The topic ‘WP4.7 Sorry, that block could not be found.’ is closed to new replies.