Keyword

Advanced Search

Search Results (Searched for: Fatal Error K2)

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
16 Nov 2016 15:19
Replied by Krikor Boghossian on topic Fatal error: Class 'K2Model' not found in .../r

Fatal error: Class 'K2Model' not found in .../r

Category: English K2 Community

Hello the notices will not affect your site's functionality.
In production sites you should disable the error reporting.

Now, can you try the following?
a) Install K2's DEV version github.com/getk2/k2
b) Disable all 3rd party K2 extensions.
  • Lex Thoonen
  • Lex Thoonen's Avatar
15 Nov 2016 19:57 - 15 Nov 2016 19:59

Fatal error: Class 'K2Model' not found in .../r

Category: English K2 Community

Hi,

I was on joomla 3.6.2 and it told me to update. I updated the extensions first, then updated joomla to 3.6.4. I don't think I did anything to K2, and I have 2.7.1 installed.

The backend still works fine, but the frontend doesn't and error reporting says:

Fatal error: Class 'K2Model' not found in /home/grancanariainfo/public_html/components/com_k2/helpers/route.php on line 311

(above it a whole list of warnings, these two a lot of times but with different line numbers:

Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /home/grancanariainfo/public_html/plugins/search/k2/k2.php on line 167
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /home/grancanariainfo/public_html/components/com_k2/helpers/route.php on line 184

)

What should I do?
Thanks!
  • eran
  • eran's Avatar
02 Nov 2016 19:23
K2 url problem was created by eran

K2 url problem

Category: English K2 Community

I've changed my site template and all the relatives url are broken broken even tough the sites (the one before template change and the one after) are identical.
examples:
if I could reach specific article with simple url like:
www.dsharon.org.il/index.php?option=com_k2&view=item&id=425
in the old site, nowi get error message 'Fatal error: Call to a member function get() on null in /home/dsharono/public_html/templates/zozostar/index.php on line 182' and to reach the same article I need more complex url like :
www.dsharon.org.il/index.php?option=com_k2&view=item&id=425:department-of-social-services&Itemid=1195
Not only that it changed, I can't really understand why this suffix was added to the url (the article is in k2 category that called 'department-of-social-services' but the article id 1195 is not in this category).
The same goes with k2 category. if i could reach k2 category with this url:
dsharon.org.il/index.php?option=com_k2&view=itemlist&task=category&id=384
now I need this url: dsharon.org.il/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=393&Itemid=611
(and also with no apparent explanation since article 611 is unpublished and not in the same category).
all the links are working in my local server (old site) but do not work in the new.

It is real pain since I have a lot of urls embedded in the text.

What did I do wrong and Is there a way to fix it (without the need to fix hundreds of links) ?

THX

eran
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
27 Oct 2016 15:00
Replied by Krikor Boghossian on topic Fatal error: Class 'K2Model' not found in

Fatal error: Class 'K2Model' not found in

Category: English K2 Community

Which K2 version were you using in the old site?
  • Marietto Rossi
  • Marietto Rossi's Avatar
27 Oct 2016 13:25
Replied by Marietto Rossi on topic Fatal error: Class 'K2Model' not found in

Fatal error: Class 'K2Model' not found in

Category: English K2 Community

Hi everybody,
i'm trying to migrate a website on a dedicated server. The website perfectly works on the old server. In the new i only can see that line:
Fatal error: Class 'K2Model' not found in /var/*****/****/*****/httpdocs/plugins/system/k2/k2.php on line 430

And the same is for admin panel. I checked the php version and it's the 5.6.27 one. I cannot access to anything. Is there some parameter i have to check in the plesk panel?

Thank you an regards,

Marietto
  • Russell English
  • Russell English's Avatar
05 Oct 2016 13:40
Editing K2 Items showing error was created by Russell English

Editing K2 Items showing error

Category: English K2 Community

I am running K2 (Version 2.7.1) on a local instance of WAMP running Joomla 3.6.2. I was able to edit K2 items perfectly, but suddenly this morning, when trying to go into K2 (just the items) I'm being shown the following error (reporting is set to maximum):

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 17312936 bytes) in C:\wamp\www\client_sites\sitenameremoved\libraries\joomla\application\web.php on line 763
Call Stack

# Time Memory Function Location
1 0.0076 262024 {main}( ) ..\index.php:0
2 0.7044 5922712 JApplicationCms->execute( ) ..\index.php:51
3 97.6680 227415512 JApplicationAdministrator->render( ) ..\cms.php:263
4 97.6686 227416432 JApplicationCms->render( ) ..\administrator.php:433
5 98.4181 263286216 JApplicationBase->triggerEvent( ) ..\cms.php:1068
6 98.4182 263286264 JEventDispatcher->trigger( ) ..\base.php:106
7 98.4246 263339360 JEvent->update( ) ..\dispatcher.php:159
8 98.4246 263339816 call_user_func_array:{C:\wamp\www\client_sites\sitenameremoved\libraries\joomla\event\event.php:69} ( ) ..\event.php:69
9 98.4247 263339944 PlgSystemAdvancedModules->onAfterRender( ) ..\event.php:69
10 98.4247 263340184 PlgSystemAdvancedModulesHelper->replaceLinks( ) ..\advancedmodules.php:89
11 98.4249 263340320 JApplicationWeb->getBody( ) ..\helper.php:117
12 98.4249 263340704 implode ( ) ..\web.php:763

I have rebooted WAMP and the PC it's running on, but can't work out what's changed. This error has only just started showing.
  • modir
  • modir's Avatar
20 Sep 2016 16:23
Replied by modir on topic item edit form not working

item edit form not working

Category: English K2 Community

hello
error repoting:
Fatal error: Call to a member function isCheckedOut() on a non-object in /home/***********/public_html/administrator/components/com_k2/views/item/view.html.php on line 100
  • Jakob Johansen
  • Jakob Johansen's Avatar
20 Sep 2016 16:08
Replied by Jakob Johansen on topic item edit form not working

item edit form not working

Category: English K2 Community

hello
error repoting:
Fatal error: Call to a member function isCheckedOut() on a non-object in /home/***********/public_html/administrator/components/com_k2/views/item/view.html.php on line 100
  • Pinto Buck
  • Pinto Buck's Avatar
16 Sep 2016 17:26

K2 broke Gantry 5 template animation. Uninstall broke mysql

Category: English K2 Community

Info update:

1) Swiffy Animations -- I think you are right that K2 and Swiffy animations have a Javascript conflict. When both are installed they may cause a recursion problem. Later, I found out that this also happens with Swiffy animations and Rockettheme's Roksprocket extension. My solution is that I just cannot use Swiffy animations with certain Joomla extensions.

2) Fatal error: Cannot redeclare pma_tableheader() -- I now believe that this a bug in myAdminPHP. I posted the issue in Github. github.com/phpmyadmin/phpmyadmin/issues/12558 . I also opened a support ticket with my web hosting service to update their version of myAdminPHP.

3) "Problems with indexes of table `tbl_user_keys`
The indexes series and series_3 seem to be equal and one of them could possibly be removed.
The indexes series and series_2 seem to be equal and one of them could possibly be removed."
I followed the error message's advice and dropped table rows for index series_3 and series_2, which solved the problem.

Summary:
In my initial post, I assumed that all of these issues were caused by K2 because I had just installed and uninstalled K2 when I noticed the problems.
Now, I think that it was just coincidence, and I apologize for putting the blame on K2. If you concur, we could marked this issue as resolved. Thank you for replying and helping.
  • Samantha Jansen
  • Samantha Jansen's Avatar
14 Sep 2016 14:44
Replied by Samantha Jansen on topic K2 Images Not Uploading

K2 Images Not Uploading

Category: English K2 Community

Ok, I finally got the error to display.

Fatal error: Maximum execution time of 30 seconds exceeded in /home/samijphoto/public_html/administrator/components/com_k2/lib/class.upload.php on line 5024


How do I fix this?
  • Andre Kublik
  • Andre Kublik's Avatar
06 Sep 2016 18:24

Fatal error: Call to undefined function mb_internal_encodin

Category: English K2 Community

Hello I get this error when showing the Items:

Fatal error: Call to undefined function mb_internal_encoding() in /home/feriaexpolatina/public_html/components/com_k2/helpers/route.php on line 86

I have aleady updated to the last K2 version but the error persist.

this is the site:

www.feriaexpolatina.com/index.php/colombia/agroindustria/item/19-acceso-a-la-informacion-s-a-s
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
25 Aug 2016 19:07
Replied by Krikor Boghossian on topic K2 broke Gantry 5 template animation. Uninstall broke mysql

K2 broke Gantry 5 template animation. Uninstall broke mysql

Category: English K2 Community

I have not used Gantry 5 but the issue with Swiffy is most likely a JS conflict.

If you experience it again, send me a link so I can take a look.

Fatal error: Cannot redeclare pma_tableheader() (previously declared in /www/public/phpMyAdmin-3.0.1/db_structure.php:81) in /www/public/phpMyAdmin-3.0.1/db_structure.php on line 116


Are you using an obsolete version of phpMyAdmin?
  • Pinto Buck
  • Pinto Buck's Avatar
24 Aug 2016 21:48

K2 broke Gantry 5 template animation. Uninstall broke mysql

Category: English K2 Community

I'm using Joomla 3.62, Gantry 5, Hydrogen template (customized) on a major web site hosting service, which has control panel and phpmyadmin.

I installed K2. Then the template's swiffy animation (developers.google.com/swiffy) in the template quit working and disappeared.

I uninstalled K2.

I noticed that mysql database had increased in size by 50%.
I tried to optimize mysql and received the following error.
Fatal error: Cannot redeclare pma_tableheader() (previously declared in /www/public/phpMyAdmin-3.0.1/db_structure.php:81) in /www/public/phpMyAdmin-3.0.1/db_structure.php on line 116

I ran a mysql checktable and received the following errors:
Problems with indexes of table `tbl_user_keys`
The indexes series and series_3 seem to be equal and one of them could possibly be removed.
The indexes series and series_2 seem to be equal and one of them could possibly be removed.

At this point, it looks like I'll have to do a completely new install of the website. Fortunately, it's a test site.
The test site is Fraudstoppers.com, although I don't know how long I'll leave the broken site up.

I note a post at Github.com in the Gantry 5 project .
mahagr commented on Jul 8
I'm not able to get K2 (v2.7.0) to work:
Fatal error: Class 'K2HelperHTML' not found in /home/matias/www/joomla/administrator/component

I'm interested in the experiences and advice of other people regarding K2 with Gantry 5.
  • weeblr
  • weeblr's Avatar
24 Aug 2016 10:46
Replied by weeblr on topic Module k2_content have bug with AMP plugin

Module k2_content have bug with AMP plugin

Category: English K2 Community

Hi Krikor

Yannick from Weeblr here.

Is the module working propely in your site without AMP?

That would not mean the module doesn't have a problem.

I have look again at the error messages, and I have noticed that the module is not looking for the file in the correct folder.

The module is trying to load /mod_k2_content/tmpl/default.php

Looking at you code, this is wrong, it should try to load:

/mod_k2_content/tmpl/Defaultdefault.php

And the notices errors before the fatal error shows that some parameters don't exist, are not found ($menuLink does not exist for instance). As you don't protect against such possibility in your code, then there is a problem.

Hope it helps

Rgds
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 Aug 2016 15:25
Replied by Krikor Boghossian on topic Blank page and K2 error

Blank page and K2 error

Category: English K2 Community

You should update to Joomla!'s and K2's latest versions (you should backup first).

As for the error, these are notices and they will not affect your site's functionality.
In the whitepage is there a Fatal Error being recorded?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
16 Aug 2016 18:48
Replied by Krikor Boghossian on topic [SOLVED] Fatal error "K2helperpermissions"

[SOLVED] Fatal error "K2helperpermissions"

Category: English K2 Community

Make sure that your folder/file permission is set to 755/644 so you won't have any more issues :)
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
16 Aug 2016 17:51
Replied by Krikor Boghossian on topic fatal error with widgetkit and multilanguage

fatal error with widgetkit and multilanguage

Category: English K2 Community

You need to contact the widgetkit devs regarding this issue.
The K2 Content module is not being triggered in the backend by K2.
  • fred
  • fred's Avatar
03 Aug 2016 00:55

[SOLVED] Fatal error "K2helperpermissions"

Category: English K2 Community

Hello,
For me, very simple solution: changed CHmod on components/com_k2/helpers/permissions.php (was 604 -> causes fatal error)
kisses
(Joo 3.5.1 // K2 2.7.0)
  • Simon C
  • Simon C's Avatar
02 Aug 2016 14:40
Replied by Simon C on topic Deprecated

Deprecated

Category: English K2 Community

Note that while this is "just a warning", the deprecated features that are being warned about *will* be removed in a future version of PHP, possibly even 7.1, which is due for release fairly soon. At that point, the deprecated warnings will turn into fatal errors.

I hope that the K2 team is working on an update to remove these issues (certainly this specific issue is dead easy to fix, so it shouldn't be too much effort).
  • Bam Bam
  • Bam Bam's Avatar
22 Jul 2016 17:00
Replied by Bam Bam on topic Fatal Error after Joomla 3.6 update

Fatal Error after Joomla 3.6 update

Category: English K2 Community

I meant my other custom K2 overrides. ;) Do they need an update, too?
Displaying 141 - 160 out of 1119 results.

Powered by Kunena Forum