COMMUNITY FORUM
Search Results (Searched for: Fatal Error K2)
- Mario Beck
26 Feb 2014 13:55
Replied by Mario Beck on topic [SOLVED] Item created & published dates change on edit
[SOLVED] Item created & published dates change on edit
Category: English K2 Community
Did some troubleshooting.. here are the results
First of all i've checked if the regular joomla articles/categories are still accessable and found out that the category manager is not langer accessable with the following error message
Fatal error: Call to undefined method CategoriesHelper::getActions() in C:\inetpub\wwwroot\joomla\administrator\components\com_categories\views\categories\view.html.php on line 106
line 106:
// Get the results for each action.
$canDo = CategoriesHelper::getActions($component, $categoryId);
This will get important later..
Next step.. installed the latest dev build (again) without uninstalling K2 before
Issue still occurs!
Uninstalled K2 and installed your latest dev version..
issue is gone.. item is published directly and this would mean it is solved BUT
of course all my items and categories i have created before have gone and i cant access the joomla category manager.. do you have a workaround how i can save my already created items/categories?
thank you
First of all i've checked if the regular joomla articles/categories are still accessable and found out that the category manager is not langer accessable with the following error message
Fatal error: Call to undefined method CategoriesHelper::getActions() in C:\inetpub\wwwroot\joomla\administrator\components\com_categories\views\categories\view.html.php on line 106
line 106:
// Get the results for each action.
$canDo = CategoriesHelper::getActions($component, $categoryId);
This will get important later..
Next step.. installed the latest dev build (again) without uninstalling K2 before
Issue still occurs!
Uninstalled K2 and installed your latest dev version..
issue is gone.. item is published directly and this would mean it is solved BUT
of course all my items and categories i have created before have gone and i cant access the joomla category manager.. do you have a workaround how i can save my already created items/categories?
thank you
- Yoong
26 Feb 2014 13:42
[SOLVED] logon admin K2 error was created by Yoong
[SOLVED] logon admin K2 error
Category: English K2 Community
When I tried to logon to admin, I got thr following errors.
K2 Quick Icons (admin)
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_quickicons/mod_k2_quickicons.php on line 15
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/mod_k2_stats.php on line 15
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/mod_k2_stats.php on line 23
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/helper.php on line 23
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/tmpl/default.php on line 15
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/tmpl/default.php on line 32
Fatal error: Class 'JPane' not found in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/tmpl/default.php on line 32
Can you please resolve the problems for me. Please tell me what caused it. How did you fix it/
Thanks you.
K2 Quick Icons (admin)
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_quickicons/mod_k2_quickicons.php on line 15
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/mod_k2_stats.php on line 15
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/mod_k2_stats.php on line 23
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/helper.php on line 23
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/tmpl/default.php on line 15
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/tmpl/default.php on line 32
Fatal error: Class 'JPane' not found in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/tmpl/default.php on line 32
Can you please resolve the problems for me. Please tell me what caused it. How did you fix it/
Thanks you.
- Lefteris
19 Feb 2014 11:23
Replied by Lefteris on topic JModel vs K2Model - fatal error
JModel vs K2Model - fatal error
Category: English K2 Community
@Alexei Yakushin
You should not get this error in K2 2.6.7. The JModel::addIncludePath() is static in Joomla! 2.5 and is also declared static in K2Model. So, something else is wrong:
1. K2 is not updating properly. Ensure that your server permissions are fine and that you can install/update extensions without problem.
2. Maybe JoomSEF is overriding some core Joomla! classes and is causing all this.
Probably it is number 2 since the same setup works without JoomSEF.
You should not get this error in K2 2.6.7. The JModel::addIncludePath() is static in Joomla! 2.5 and is also declared static in K2Model. So, something else is wrong:
1. K2 is not updating properly. Ensure that your server permissions are fine and that you can install/update extensions without problem.
2. Maybe JoomSEF is overriding some core Joomla! classes and is causing all this.
Probably it is number 2 since the same setup works without JoomSEF.
- Alexey Yaksuhin
14 Feb 2014 17:41 - 14 Feb 2014 18:24
Replied by Alexey Yaksuhin on topic JModel vs K2Model - fatal error
JModel vs K2Model - fatal error
Category: English K2 Community
If you think that problem is gone - no ;)
I have Joomla 2.5.18 + K2 2.5.7 + JoomSEF 4.5.1 + PHP 5.2.17
When i try to update K2 even to 2.6.0-2.6.7 - I have same error.
PHP Fatal error: Cannot make static method JModel::addIncludePath() non static in class K2Model in /home/****/*****/www/administrator/components/com_k2/models/model.php on line 0
And site go down compleatly (and back end too). Only rename of plugins/system/k2/k2.php allow me go to backend.
BUT, if i use PHP 5.3.6-13 on another hosting - than no problem, everything works fine.
So is it possible get problem only in PHP version? Or it something else?
Because
Joomla 2.5.18 + K2 2.6.7 + PHP 5.2.17 = working
Joomla 2.5.18 + K2 2.6.7 + JoomSEF 4.5.1 + PHP 5.3.6 = working
Joomla 2.5.18 + K2 2.6.7 + JoomSEF 4.5.1 + PHP 5.2.17 = site completely down
Any ideas?
I have Joomla 2.5.18 + K2 2.5.7 + JoomSEF 4.5.1 + PHP 5.2.17
When i try to update K2 even to 2.6.0-2.6.7 - I have same error.
PHP Fatal error: Cannot make static method JModel::addIncludePath() non static in class K2Model in /home/****/*****/www/administrator/components/com_k2/models/model.php on line 0
And site go down compleatly (and back end too). Only rename of plugins/system/k2/k2.php allow me go to backend.
BUT, if i use PHP 5.3.6-13 on another hosting - than no problem, everything works fine.
So is it possible get problem only in PHP version? Or it something else?
Because
Joomla 2.5.18 + K2 2.6.7 + PHP 5.2.17 = working
Joomla 2.5.18 + K2 2.6.7 + JoomSEF 4.5.1 + PHP 5.3.6 = working
Joomla 2.5.18 + K2 2.6.7 + JoomSEF 4.5.1 + PHP 5.2.17 = site completely down
Any ideas?
- Georg von Sperling
13 Feb 2014 13:21
Replied by Georg von Sperling on topic Upload Item Image - incomplete response
Upload Item Image - incomplete response
Category: English K2 Community
Partially Solved
Found a log message regarding maximum execution time
Displaying 401 - 420 out of 1119 results.
Found a log message regarding maximum execution time
- Anthony

13 Feb 2014 10:15 - 13 Feb 2014 10:16 k2 import content was created by Anthony k2 import content
Category: English K2 Community
Hello,
i have a problem about import over than 6000 joomla content,
when i click import joomla's content button,tere is error message in blank screen:
Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /home/www/xxxxxx/libraries/joomla/utilities/arrayhelper.php on line 247
when i return to control panel,k2 category not display correct form content category,and just 3k article in k2 items,
Joomla! 3.2.2 Stable
K2 v2.6.8 (Dev Build)
Database 5.5.35-0ubuntu0.12.04.2
PHP 5.3.10-1ubuntu3.9
As always, your assistance is appreciated!
- Yiota
11 Feb 2014 12:34
Replied by Yiota on topic Fatal Error: K2
Fatal Error: K2
Category: English K2 Community
Please try what @Krikor suggested below:
Go to Extensions -> Plugin Manager and make sure to filter the plugins (system plugins) and try to set the K2 plugin render last in the plugins order.
Finally, contact that extensions support to see if they have an solution for that issue.
Go to Extensions -> Plugin Manager and make sure to filter the plugins (system plugins) and try to set the K2 plugin render last in the plugins order.
Finally, contact that extensions support to see if they have an solution for that issue.
- Adam O.
11 Feb 2014 03:45
Replied by Adam O. on topic Fatal Error: K2
Fatal Error: K2
Category: English K2 Community
yes, I've got DJ Classifieds
I've checked on DJ Media Tools too - the same problem
best regards!
Adam
I've checked on DJ Media Tools too - the same problem
best regards!
Adam
- Yiota
07 Feb 2014 18:38
Replied by Yiota on topic K2 not working after forced Re-install-Need Help!
K2 not working after forced Re-install-Need Help!
Category: English K2 Community
Try to follow the steps mentioned in this link and let me know if it works for you
www.templatemonster.com/help/joomla-2-5-x-fatal-error-call-to-undefined-method-stdclassondisplay.html
Have you checked that you actually see the items that belong to the vehicle category in the backend?
www.templatemonster.com/help/joomla-2-5-x-fatal-error-call-to-undefined-method-stdclassondisplay.html
Have you checked that you actually see the items that belong to the vehicle category in the backend?
- Joseph Goldblatt
05 Feb 2014 22:34
images not uploading was created by Joseph Goldblatt
images not uploading
Category: English K2 Community
I know this has been written about before but I have tried all the fixes and I still am not getting it to work.
When I try to upload an image in a K2 item I get the following error code:
Fatal error: Maximum execution time of 30 seconds exceeded in /home2/pkollel/public_html/administrator/components/com_k2/lib/class.upload.php on line 4856
The files i 500kb - there is no reason for it to be timing out. It only happens in certain categories. I haven't made any changes to my system to prompt this error.
Please help!
When I try to upload an image in a K2 item I get the following error code:
Fatal error: Maximum execution time of 30 seconds exceeded in /home2/pkollel/public_html/administrator/components/com_k2/lib/class.upload.php on line 4856
The files i 500kb - there is no reason for it to be timing out. It only happens in certain categories. I haven't made any changes to my system to prompt this error.
Please help!
- Arnaud BLAIN
05 Feb 2014 14:16
Jquery not defined was created by Arnaud BLAIN
Jquery not defined
Category: Communauté française K2
Bonjour à tous,
J'ai désactivé dans K2 le chargement de JQuery car mon template lance déjà jquery
Le problème c'est que j'ai un message d'errreur : Uncaught ReferenceError: jQuery is not defined k2.js?v2.6.7&sitepath=/:9
(anonymous function)
J'ai vu que c'est le plugin System - K2 qui lance la requete et j'ai vérifié l'ordre de mes plugins et mon jquery de template est bien avant (ordre 0) et System - K2 (ordre 11)
J'aurais pu désactivé System - K2 plugin mais ensiute je ne peux plus acceder à K2 en back-end : Fatal error: Class 'K2HelperHTML' not found in /home/lemaneo/public_html/administrator/components/com_k2/k2.php on line 77
Pourquoi K2 script est lancé avant : <script src="/components/com_k2/js/k2.js?v2.6.7&sitepath=/" type="text/javascript"></script>
et comment le lancer après ?
Merci d'avance
J'ai désactivé dans K2 le chargement de JQuery car mon template lance déjà jquery
Le problème c'est que j'ai un message d'errreur : Uncaught ReferenceError: jQuery is not defined k2.js?v2.6.7&sitepath=/:9
(anonymous function)
J'ai vu que c'est le plugin System - K2 qui lance la requete et j'ai vérifié l'ordre de mes plugins et mon jquery de template est bien avant (ordre 0) et System - K2 (ordre 11)
J'aurais pu désactivé System - K2 plugin mais ensiute je ne peux plus acceder à K2 en back-end : Fatal error: Class 'K2HelperHTML' not found in /home/lemaneo/public_html/administrator/components/com_k2/k2.php on line 77
Pourquoi K2 script est lancé avant : <script src="/components/com_k2/js/k2.js?v2.6.7&sitepath=/" type="text/javascript"></script>
et comment le lancer après ?
Merci d'avance
- Basheer Noorgat
04 Feb 2014 15:13
Blank white screen in Front & Back End was created by Basheer Noorgat
Blank white screen in Front & Back End
Category: English K2 Community
Hi.
I just installed Akeeba Admin Tools on Joomla 2.5.18. I have K2 2.6.7 installed.
If I enable the Akeeba System Admin Tool Plugin, I get a blank white screen in the front end and also in the backend.
If I ftp to site and delete the plugin, the site starts working again.
I tried setting Joomla error reoprting to max and now I get this error msg in front and backend:
Fatal error: Cannot make static method JModel::addIncludePath() non static in class K2Model in /var/www/vhosts/nmcexquisite.com/httpdocs/administrator/components/com_k2/models/model.php on line 0
The Akeeba team feels the K2 code needs fixing.
Can anyone please help.
Regards
Basheer
Joomla! version (in x.y.z format)
2.5.18rc
PHP version (in x.y.z format)
5.2.17
MySQL version
5.1.56
I just installed Akeeba Admin Tools on Joomla 2.5.18. I have K2 2.6.7 installed.
If I enable the Akeeba System Admin Tool Plugin, I get a blank white screen in the front end and also in the backend.
If I ftp to site and delete the plugin, the site starts working again.
I tried setting Joomla error reoprting to max and now I get this error msg in front and backend:
Fatal error: Cannot make static method JModel::addIncludePath() non static in class K2Model in /var/www/vhosts/nmcexquisite.com/httpdocs/administrator/components/com_k2/models/model.php on line 0
The Akeeba team feels the K2 code needs fixing.
Can anyone please help.
Regards
Basheer
Joomla! version (in x.y.z format)
2.5.18rc
PHP version (in x.y.z format)
5.2.17
MySQL version
5.1.56
- The Pinup Academy
03 Feb 2014 10:31
Replied by The Pinup Academy on topic K2 not working after forced Re-install-Need Help!
K2 not working after forced Re-install-Need Help!
Category: English K2 Community
Not sure if this will help?
When I click on a K2 item in the backend I get the following error message
"Fatal error: Call to undefined method stdClass::onDisplay() in public_html/thepinupacademy.co.uk/libraries/cms/editor/editor.php on line 459"
When I click on a K2 item in the backend I get the following error message
"Fatal error: Call to undefined method stdClass::onDisplay() in public_html/thepinupacademy.co.uk/libraries/cms/editor/editor.php on line 459"
- Adam O.
03 Feb 2014 03:44 - 03 Feb 2014 03:45
Email button in category item view was created by Adam O.
Email button in category item view
Category: English K2 Community
Hi there!
I will add to category_item.php Email button, to send link with item to other friends - the same as in item.php view:
<?php if($params->get('itemEmailButton') && !JRequest::getInt('print')): ?>
<li class="itemEmail">
<a rel="nofollow" href="<?php echo $this->item->emailLink; ?>" onclick="window.open(this.href,'emailWindow','width=400,height=350,location=no,menubar=no,resizable=no,scrollbars=no'); return false;">
<?php echo JText::_('K2_EMAIL'); ?>
</a>
</li>
<?php endif; ?>
when I copy these lines to category_item.php I see an error:
Fatal error: Call to a member function get() on a non-object in
com_k2/templates/default/category_item.php on line 20
how can I rewrite the code to make it working? :-)
I'll be very grateful for your help!
best regards!
Adam
I will add to category_item.php Email button, to send link with item to other friends - the same as in item.php view:
<?php if($params->get('itemEmailButton') && !JRequest::getInt('print')): ?>
<li class="itemEmail">
<a rel="nofollow" href="<?php echo $this->item->emailLink; ?>" onclick="window.open(this.href,'emailWindow','width=400,height=350,location=no,menubar=no,resizable=no,scrollbars=no'); return false;">
<?php echo JText::_('K2_EMAIL'); ?>
</a>
</li>
<?php endif; ?>
when I copy these lines to category_item.php I see an error:
Fatal error: Call to a member function get() on a non-object in
com_k2/templates/default/category_item.php on line 20
how can I rewrite the code to make it working? :-)
I'll be very grateful for your help!
best regards!
Adam
- Yiota
29 Jan 2014 16:39
Replied by Yiota on topic Fatal error:
Fatal error:
Category: English K2 Community
There is probably a conflict between this module and K2 in your site.
You should ask for advice from the JA support team for this.
What I mention above has to do with K2 template overrides but since you have located the problem to that specific module there is no need to take into account my suggestion.
You should ask for advice from the JA support team for this.
What I mention above has to do with K2 template overrides but since you have located the problem to that specific module there is no need to take into account my suggestion.
- Yiota
29 Jan 2014 10:38
Replied by Yiota on topic Fatal error:
Fatal error:
Category: English K2 Community
Try to Disable your K2 template overrides and see if the error persists.
If it doesn't, it means that you have to update your K2 overrides since version 2.4 probably has differences between 2.6.7 even in the overrides.
Just compare the files between the components/com_k2/templates folder and templates/your_Template/html/com_k2 folder.
If it doesn't, it means that you have to update your K2 overrides since version 2.4 probably has differences between 2.6.7 even in the overrides.
Just compare the files between the components/com_k2/templates folder and templates/your_Template/html/com_k2 folder.
- Iamshia
28 Jan 2014 21:49
Fatal error: was created by Iamshia
Fatal error:
Category: English K2 Community
I just updaed from 2.4 to 2.6.7 and backned is perfect thanks for k2 but when i see front end i see white screen with this error
Fatal error: Call to undefined method K2ModelItemlist::getCategoryFirstChilds() in /home/.../public_html/modules/mod_janewspro/helpers/adapter/k2.php on line 40
Fatal error: Class 'JLoader' not found in /home/.../public_html/libraries/loader.php on line 161
please help
Fatal error: Call to undefined method K2ModelItemlist::getCategoryFirstChilds() in /home/.../public_html/modules/mod_janewspro/helpers/adapter/k2.php on line 40
Fatal error: Class 'JLoader' not found in /home/.../public_html/libraries/loader.php on line 161
please help
- Yiota
24 Jan 2014 17:27
Replied by Yiota on topic Fatal Error: K2
Fatal Error: K2
Category: English K2 Community
Hello Adam,
Do you also use Component (DJ-Classifieds)?
Do you also use Component (DJ-Classifieds)?
- Adam O.
24 Jan 2014 16:58
Replied by Adam O. on topic Fatal Error: K2
Fatal Error: K2
Category: English K2 Community
Hi, I've got the same problem
any solution of this? :-)
greetings
Adam
any solution of this? :-)
greetings
Adam
- James Wiseman
22 Jan 2014 18:11
Replied by James Wiseman on topic White screen with Joomla 2.5.17 & K2 2.6.8 (dev)
White screen with Joomla 2.5.17 & K2 2.6.8 (dev)
Category: English K2 Community
Hi Yiota,
Thanks for the reply.
The error I'm getting is:
Fatal error: Call to undefined method JDocumentError::countModules() in /var/sites/w/xxxxxxxxxxxxx.com/public_html/j3/administrator/templates/isis/error.php on line 216
Which would seem to indicate a conflict withe the isis template somehow?
Thanks,
James
Thanks for the reply.
The error I'm getting is:
Fatal error: Call to undefined method JDocumentError::countModules() in /var/sites/w/xxxxxxxxxxxxx.com/public_html/j3/administrator/templates/isis/error.php on line 216
Which would seem to indicate a conflict withe the isis template somehow?
Thanks,
James
Yiota Ziaggou wrote: Do you get the same error in your white page as Gary does or something else?