- Posts: 2
COMMUNITY FORUM
Fatal error: Call to a member function load
- Tony Bell
- Topic Author
- Offline
- New Member
Less
More
12 years 2 weeks ago #103548
by Tony Bell
Fatal error: Call to a member function load was created by Tony Bell
Recently upgraded www.suffolkbasketball.net to Joomla! 2.5 running K2
Everything has been fine until today when I try to access the site I get:
Fatal error: Call to a member function load() on a non-object in /home/suffolk/public_html/components/com_k2/views/itemlist/view.html.php on line 40
line 40 loads the category id ( $category->load($id); )
When I try to access the site's backend admin area I get a 404 page not found error. My host tells me PHP is working normally, I can access files via FTP & cPanel.
Any ideas? Thanks in advance.
Everything has been fine until today when I try to access the site I get:
Fatal error: Call to a member function load() on a non-object in /home/suffolk/public_html/components/com_k2/views/itemlist/view.html.php on line 40
line 40 loads the category id ( $category->load($id); )
When I try to access the site's backend admin area I get a 404 page not found error. My host tells me PHP is working normally, I can access files via FTP & cPanel.
Any ideas? Thanks in advance.
Please Log in or Create an account to join the conversation.
- Tony Bell
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
12 years 2 weeks ago #103549
by Tony Bell
Replied by Tony Bell on topic Re: Fatal error: Call to a member function load
OK - a bit embarrassing that one! I somehow managed to move the "Admin" folder from root to another folder. Moved it back and everything works fine - strange that!!
Please Log in or Create an account to join the conversation.
- Jarrett
- Offline
- New Member
Less
More
- Posts: 1
12 years 1 day ago #103550
by Jarrett
Replied by Jarrett on topic Re: Fatal error: Call to a member function load
Hi, I just received this message:
Fatal error: Call to a member function categoriesTree() on a non-object in /home/scott/public_html/administrator/components/com_k2/views/items/view.html.php on line 124
Any ideas? I need help.
Fatal error: Call to a member function categoriesTree() on a non-object in /home/scott/public_html/administrator/components/com_k2/views/items/view.html.php on line 124
Any ideas? I need help.
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
12 years 1 day ago #103551
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Fatal error: Call to a member function load
@Jarrett
Can you be more specific? What versions are you using? Where did you get the error? Front-end or backend? module or component ( and what view )? Do you have any K2 related extensions installed?
Can you be more specific? What versions are you using? Where did you get the error? Front-end or backend? module or component ( and what view )? Do you have any K2 related extensions installed?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.