Jump to content

Featured Replies

Posted

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 by ReyDev

Solved by ReyDev

Go to solution

Show your code...

  • Author
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 by ReyDev

Is there anything logged to the System Logs that might give you more information?

  • Author
  • Solution

The problem was solved. There were problems in the license section that were resolved after contacting the support department.

Recently Browsing 0

  • No registered users viewing this page.