Error: Undefined variable $navDepthSetting in Thanks, Roy theme

Dear Omeka Team,

We are using the Omeka S 4.0.1 & Thanks, Roy theme version 1.1.2.

We have 3 levels of navigation, and the Top Navigation Depth is set to 0 to show all levels.

However, on the front end, we see the following message: “Warning: Undefined variable $navDepthSetting in /var/www/expo.bu.umk.pl/themes/thanksroy/view/common/sub-navigation.phtml on line 1.”

nav_levels_error

How can we fix this issue?

Thank you.

Thanks for this. We’ve actually just fixed this issue and the new release will be out soon:

I’ll let you know when the new version is out so you can update.

1 Like

You’re welcome! That’s great news! I’m glad to hear that the issue has been resolved :smiley: I appreciate you letting me know about the upcoming release. Thank you for your prompt action in addressing the problem.

I have updated the theme to version 1.1.3, and the issue has been resolved. :+1: Thank you once again for the suggestion.

You caught it right on release day: yes, 1.1.3 is the new release that fixes this issue.

1 Like