parse_template_syntax error
I am calling an advance module library from a regular controller and wasn't having any problems until I tried to use parse_template_syntax within the library. Each time that parse_template_syntax is called, the following two errors occur
A PHP Error was encountered
Severity: Notice
Message: Undefined index: global
Filename: core/Loader.php
Line Number: 557
A PHP Error was encountered
Severity: Warning
Message: array_merge() [function.array-merge]: Argument #1 is not an array
Filename: libraries/MY_Parser.php
Line Number: 243
Line 557 of loader is
return $this->_ci_cached_vars[$scope];
In this case _ci_cached_vars is an empty array and $scope is 'global' So that is why the undefined index.
array_merge fails because of the issue in loader I believe.
Any ideas why this might be happening and where I might start looking?
Comments
https://github.com/daylightstudio/FUEL-CMS/tree/develop
Next time you are updating the docs, I noticed the hooks link to CI is broken on this page http://docs.getfuelcms.com/libraries/my_hooks