Hi all,
Please check that the xx module is installed and that yy is an available method of the module
Just wanted to post this so it will get picked up by any one else searching for a solution to this issue when developing their own EE modules. This took me a while to figure out as I was getting this error in my templates on a new module and couldn’t see anything wrong with my module files.
Turns out I was right and it’s an EE DB caching issue.
On line 1110 of system/expressionengine/libraries/Template.php, all the installed modules get pulled in:
$query = $this->EE->db->query("SELECT module_version, module_name FROM exp_modules");
I tracked things right back to this line and found that my module wasn’t appearing in the array returned from the DB, even though it was present when checking via the same SQL query run from my MySQL GUI.
This immediately pointed me towards a cache problem, and sure enough going to Tools -> Data -> Clear Caching in the EE CP cleared the cache and my module started working.
So if you’re having this problem and your module files look good, try clearing the cache in this way and see if it works.
Indeed I wonder if the EE dev team should consider making EE clear it’s own SQL cache when a new module is installed to prevent this happening?
Anyway, hope this helps someone.
I am trying to set up my website on my local, I followed the same steps (taking DB dump, installed MAMP, checked configs), but I am facing the same error “Error The following tag cannot be processed:
{exp:locale:en}
Please check that the ‘locale’ module is installed and that ‘en’ is an available method of the module” Clearing caches are not helping me. Please, help me with the issue
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.