Fatal error: Call to a member function isActive() on a non-object in updates/concrete5.6.3.1_updater/concrete/core/models/page_list.php on line 138
Permalink
I received the following fatal error on the web page when I try to view the Full Site from the dash board;
Fatal error: Call to a member function isActive() on a non-object in /home/mmaheux/jerichounderhillwater.org/updates/concrete5.6.3.1_updater/concrete/core/models/page_list.php on line 138
I have a custom theme in my root/themes directory.
One of the logs had this error listed;
Exception Occurred: /home/mmaheux/jerichounderhillwater.org/updates/concrete5.6.3.1_updater/concrete/core/libraries/view.php:981 File /home/mmaheux/jerichounderhillwater.org/themes/dark_chocolate/default.php not found. All themes need default.php and view.php files in them. Consult concrete5 documentation on how to create these files. (0)
#0 /home/mmaheux/jerichounderhillwater.org/updates/concrete5.6.3.1_updater/concrete/dispatcher.php(264): Concrete5_Library_View->render(Object(Page))
#1 /home/mmaheux/jerichounderhillwater.org/concrete/startup/updated_core_check.php(6): require('/home/mmaheux/j...')
#2 /home/mmaheux/jerichounderhillwater.org/concrete/dispatcher.php(20): require('/home/mmaheux/j...')
#3 /home/mmaheux/jerichounderhillwater.org/index.php(2): require('/home/mmaheux/j...')
#4 {main}
The default.php file is in the theme directory. So I'm not sure what is causing this error.
Solutions would be greatly appreciated
Fatal error: Call to a member function isActive() on a non-object in /home/mmaheux/jerichounderhillwater.org/updates/concrete5.6.3.1_updater/concrete/core/models/page_list.php on line 138
I have a custom theme in my root/themes directory.
One of the logs had this error listed;
Exception Occurred: /home/mmaheux/jerichounderhillwater.org/updates/concrete5.6.3.1_updater/concrete/core/libraries/view.php:981 File /home/mmaheux/jerichounderhillwater.org/themes/dark_chocolate/default.php not found. All themes need default.php and view.php files in them. Consult concrete5 documentation on how to create these files. (0)
#0 /home/mmaheux/jerichounderhillwater.org/updates/concrete5.6.3.1_updater/concrete/dispatcher.php(264): Concrete5_Library_View->render(Object(Page))
#1 /home/mmaheux/jerichounderhillwater.org/concrete/startup/updated_core_check.php(6): require('/home/mmaheux/j...')
#2 /home/mmaheux/jerichounderhillwater.org/concrete/dispatcher.php(20): require('/home/mmaheux/j...')
#3 /home/mmaheux/jerichounderhillwater.org/index.php(2): require('/home/mmaheux/j...')
#4 {main}
The default.php file is in the theme directory. So I'm not sure what is causing this error.
Solutions would be greatly appreciated
I believe I found the problem. The new view.php is not the same as the previous version. When I copied the new view.php into my root/themes directory I was able to view and select all my pages without error.
I have an answer, all the files are in place. However what I found out is troubling because only the "super user" can view the full site map from the dash board. I have others with administrator privileges but get that error if they try to view the full site map.
I know it must have something to do with the privileges but I haven't figured out why.
Do you have any thoughts?
I know it must have something to do with the privileges but I haven't figured out why.
Do you have any thoughts?
You could activate a core theme before you update your site, that might do the trick as well. And as a general rule, disable all caches before you update a site.