-
Bug
-
Resolution: Fixed
-
Minor
-
4.5.2
When trying to acces by URL to /blog/edit.php?action=add with blogs disabled a not handled error appears:
Exception - Call to a member function make_active() on bool
Stack trace:
- line 72 of /blog/edit.php: Error thrown
How to reproduce:
- Disable blogs by unchecking "enableblogs" box at Site settings
- Acces by url to /blog/edit.php?action=add
How to solve:
- Handle the blogdisable exception (line 77 of /blog/edit.php) before the user context is set (line 65 of /blog/edit.php)