Platform: [Bug] Undefined variable: alternate

Summary of issue

When disabling modules and switching template I run into the following error

Undefined variable: alternate (View: Themes/Flatly/views/layouts/master.blade.php) (View: Themes/Flatly/views/layouts/master.blade.php

Steps to reproduce

  1. install AsgardCMS
  2. install theme
  3. switch theme via database settings

System Details

  • Operating System - Ubuntu
  • PHP Version - 7
  • Laravel Version - 5.5.44
  • Asgardcms/Platform version - 3.6.1

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (5 by maintainers)

Most upvoted comments

Hi! I also encountered the same problem on a fresh install when going to http://127.0.0.1:8000/backend but it’s all good when going to http://127.0.0.1:8000/en/backend

I just started but will look into it further to see how to fix this 😃

@jagroop it’s stable. It was introduced in a recent pull request.

Also, this is free software you’re using for free. Feel free to contribute.

And it never occurred to you to improve the free software you’re expecting to work?

It is just a path issue, use the correct backend path. if you notice on home page the admin link redirects to en/backend Link with error: http://localhost/asgard-cms/public/backend Fix: http://localhost/asgard-cms/public/en/backend

@rajithsam @marqroldan I think it’s an error in one of the links - when installing they reference /backend but that comes up with the error message. I found that /en/backend works for the url. If you go to the site initially it says to login to the backend and lists the /en/backend url. If you go to the /auth/login page it will direct you in correctly . . . which is odd.

Nah it never occurred to me , and i am not forcing you to fix it i was just confirming if this CMS is ready for production use , i understand how open source works , and i respect your work.

Thanks for the free software Sir.

Peace

@nWidart @karneaud Thanks for replying, I also found couple of another issues (missing blade views , undefined variables etc ) , moved to octobercms . Will contribute ASAP, Nice CMS 👍 , really appreciate it , Thanks

@jagroop would hold off on it and try another platform for now not sure about it.

@nWidart I am starting a project from scratch , not sure if this platform is stable enough for production use ? Waiting for your reply , Thanks