ReyDev Posted December 25, 2020 Share Posted December 25, 2020 (edited) Hi, I've created a template hook for a plugin. Everything is ok when I'm in developer mode(IN_DEV = TRUE) but in production mode(IN_DEV = FALSE), I get this error :[[Template core/front/global/navBar is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] Edited December 25, 2020 by ReyDev Link to comment Share on other sites More sharing options...
Nathan Explosion Posted December 25, 2020 Share Posted December 25, 2020 Show your code... Link to comment Share on other sites More sharing options...
ReyDev Posted December 25, 2020 Author Share Posted December 25, 2020 (edited) 2 hours ago, Nathan Explosion said: Show your code... Selector : nav[data-controller='core.front.core.navBar'] > div.ipsNavBar_primary.ipsLayout_container content : {template="navBar" group="plugins" location="global" app="core" params=""} And navBar.phtml is something like this : <ips:template parameters="$preview=FALSE"/> <div> <div class=myMenu"> <ul> <li>Item 1 </li> <li>Item 2 </li> </ul> </div> </div> As I said, It works in developer mode but in production mode doesn't. Edited December 25, 2020 by ReyDev Link to comment Share on other sites More sharing options...
bfarber Posted December 28, 2020 Share Posted December 28, 2020 Is there anything logged to the System Logs that might give you more information? Link to comment Share on other sites More sharing options...
Solution ReyDev Posted December 28, 2020 Author Solution Share Posted December 28, 2020 The problem was solved. There were problems in the license section that were resolved after contacting the support department. Link to comment Share on other sites More sharing options...
Recommended Posts