- Posts: 1
COMMUNITY FORUM
JModel vs K2Model - fatal error
- Vio Stepanov
- Topic Author
- Offline
- New Member
k2 updated to version 2.6.0, and immediately there was an error -
Fatal error: Cannot make static method JModel::addIncludePath() non static in class K2Model in /home/pxxxxx/www/mysite.com/administrator/components/com_k2/models/model.php on line 40
in the backend, we can not act, constantly displays the indicated error, my site is dead, what to do? Help!
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
- Posts: 8743
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- coen
- Offline
- New Member
- Posts: 5
We cannot do anything!
Please help in how to reach our backoffice again
What can we do?
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
- Posts: 8743
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- coen
- Offline
- New Member
- Posts: 5
Thanks in advance!
Please Log in or Create an account to join the conversation.
- Gregwh
- Offline
- Senior Member
- Posts: 57
Lefteris Kavadas wrote: Hi. K2 only supports Joomla! 1.5, 2.5 and 3.0. Other versions of Joomla! are not supported in K2. 2.6. You should update Joomla! to 2.5 or go back to K2 2.5.7.
The error I get as soon as I logon to the backend is:
"Model Class cpanelModelCpanel not found in file"
....which is odd. I dont use cPanel to administer the backend of my K2 site. This error has ONLY occurred ever since I updated to the latest K2. I had updated to the latest Joomla, version 2.5.7, the week before K2 was updated.
While this error doesnt stop me administering in the backend in K2 or even in Joomla, it is a definite worry.
To the person who cannot get to the backend of their site any longer, you might contact your site hosting agent. I host my own stuff as a reseller through Hostgator. They keep automatic updates and can revert your site to an earlier version if needed. Your hosting agent may be able to do the same for you.
Please Log in or Create an account to join the conversation.
- Gregwh
- Offline
- Senior Member
- Posts: 57
Lefteris Kavadas wrote: The release announcement states clearly that K2 2.6 is only compatible with Joomla! 1.5, 2.5 and 3.0 only. Try to go back to K2 2.5.7. If you have no admin access place the package contentns using FTP.
PS,
There was no announcement about compatibility when I updated. There was only the notice on the Joomla panel that there was an update to be had. You click on it and it says K2 and that is that. There was no notice at all.
I am using Joomla 2.5.7.
Please Log in or Create an account to join the conversation.
- coen
- Offline
- New Member
- Posts: 5
Where can I find K2 2.5.7? Do I just need to exchange the files in the component directory?
thnx
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
- Posts: 8743
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- coen
- Offline
- New Member
- Posts: 5
Please Log in or Create an account to join the conversation.