Hi, good morning. Today I finish migrating one of my joomla sites to v4.0.5. Everything was fine, however I had to unpublish the Mod Login I had added to off canvas menu because I caused a PHP Error 500. This is the error:
Warning: require_once(****/public_html/components/com_users/helpers/route.php): failed to open stream: No such file or directory in ****/public_html/templates/shaper_helix3/html/mod_login/default.php on line 11
Fatal error: require_once(): Failed opening required '/*****/public_html/components/com_users/helpers/route.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /*****/public_html/templates/shaper_helix3/html/mod_login/default.php on line 11
Symfony\Component\ErrorHandler\Error\FatalError:
Compile Error: require_once(): Failed opening required '/******/public_html/components/com_users/helpers/route.php' (include_path='.:/opt/alt/php74/usr/share/pear')
at /******/public_html/templates/shaper_helix3/html/mod_login/default.php:11
I thought this was a problem with the off canvas, so I decided to move it to any another template position, so I chose "top1", and the error showed as well.
I also decided to switch templates and I chose Cassiopedia (Default Joomla 4 Template) and publish the module on the "breadcrums" position and it worked fine.
So I found that this was a template related problem, but I'm not sure what it is. Can you please help me?
Screenshot: https://www.dropbox.com/s/9lrtsxezk7ilqah/Screenshot%20Mod%20Login%20Error.png?dl=0