Keyword

Advanced Search

Search Results (Searched for: Fatal Error K2)

  • Jack Hittle
  • Jack Hittle's Avatar
27 Feb 2021 17:34

Recoverable fatal error: Object of class stdClass could not be converted to stri

Category: English K2 Community

..the exact component; administrator/components/com_k2store/library/selectable/base.php
  • Concerto Designs Inc.
  • Concerto Designs Inc.'s Avatar
27 Feb 2021 14:01
Replied by Concerto Designs Inc. on topic K2 with PHP 8.0

K2 with PHP 8.0

Category: English K2 Community

Same error :-(

Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/b0st0n/public_html/media/k2/assets/vendors/verot/class.upload.php/src/class.upload.php on line 2769
  • Concerto Designs Inc.
  • Concerto Designs Inc.'s Avatar
26 Feb 2021 14:13
K2 with PHP 8.0 was created by Concerto Designs Inc.

K2 with PHP 8.0

Category: English K2 Community

Running K2 under PHP 8.02 throws the following error when trying to save an item:

Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/b0st0n/public_html/media/k2/assets/vendors/verot/class.upload.php/src/class.upload.php on line 2726

No problem with 7.4, but I wonder if anyone else has had an issue.

Regards,
Alan
  • JoomlaWorks
  • JoomlaWorks's Avatar
29 Oct 2020 20:21

Fatal error is coming after upgrading the Joomla to ver 3.9

Category: English K2 Community

In either a plugin or where you render the code (e.g. the template overrides). It depends on the use case.

In your case, I assume these are presentation methods only, so they could have been part of a template override for K2.
  • saurabh agarwal
  • saurabh agarwal's Avatar
28 Oct 2020 07:32

Fatal error is coming after upgrading the Joomla to ver 3.9

Category: English K2 Community

thanks for your quick reply. what are the ways to declare custom methods in the k2 components so conflicts can be avoided while upgrading in future without changing in the core files.
  • JoomlaWorks
  • JoomlaWorks's Avatar
27 Oct 2020 21:29

Fatal error is coming after upgrading the Joomla to ver 3.9

Category: English K2 Community

These functions are not part of K2's core code, e.g. github.com/getk2/k2/search?q=getImagesForGallery

Whoever built your site modified K2's core code, which is a big no-no... :)
  • saurabh agarwal
  • saurabh agarwal's Avatar
27 Oct 2020 16:20

Fatal error is coming after upgrading the Joomla to ver 3.9

Category: English K2 Community

Presently I have installed K2 v2.10.3 on Joomla[ver 3.9] and using php [PHP Version 5.6.40] on the website.
  • saurabh agarwal
  • saurabh agarwal's Avatar
27 Oct 2020 15:57

Fatal error is coming after upgrading the Joomla to ver 3.9

Category: English K2 Community

I am getting fatal error in K2 component after upgrading the website to Joomla ver 3.9.

Please review below messages in the error log
======================================
Fatal error: Call to undefined method K2ModelItem::getImagesForGallery() in /home/.../public_html/components/com_k2/templates/wallpapers/item.php on line 354
Fatal error: Call to undefined method K2ModelItem::getImagesForGallery() in /home/.../public_html/components/com_k2/templates/audio/item.php on line 619
Fatal error: Call to undefined method K2ModelItem::getTitleFromItemId() in /home/.../public_html/components/com_k2/templates/guru/item.php on line 20
Fatal error: Call to undefined method K2ModelItem::getImagesForGallery() in /home/.../public_html/components/com_k2/templates/photos/item.php on line 332
======================================

Please suggest, where these methods are defined. Any help would be highly appreciated.

Thanks in advance!
  • Lex Thoonen
  • Lex Thoonen's Avatar
14 May 2020 14:21

How to quickly filter just K2 extensions for troubleshooting

Category: English K2 Community

Hi! I tried to update my site (joomla/k2) and got it on a new server with recent php versions. Now, I can see the homepage and item pages, but no so for "category" pages.

I get this error:
Fatal error: Cannot declare class K2ModelItemlist, because the name is already in use in /home/--site--/public_html/components/com_k2/models/itemlist.php on line 0

I don't know what exactly already has been using K2ModelItemList, I suppose some 3rd party K2 extension.

How do I know which extensions to disable to troubleshoot this? Or in other words, how do I quickly just see K2 extensions?

Thank you!
  • JoomlaWorks
  • JoomlaWorks's Avatar
05 May 2020 21:06
Replied by JoomlaWorks on topic Fatal Error between K2 User and K2 Frontend

Fatal Error between K2 User and K2 Frontend

Category: English K2 Community

component.php is like index.php. The only difference is that this file is usually called in modals, the print dialog etc. Explore that file and adjust accordingly.

As for the update, yes, it's simple.
  • Michael Gulyaev
  • Michael Gulyaev's Avatar
05 May 2020 21:01
Replied by Michael Gulyaev on topic Fatal Error between K2 User and K2 Frontend

Fatal Error between K2 User and K2 Frontend

Category: English K2 Community

Is it really simple? What I need to do? Can you explain in more detail?
Do you mean the template component file component.php?
  • JoomlaWorks
  • JoomlaWorks's Avatar
05 May 2020 18:51
Replied by JoomlaWorks on topic Fatal Error between K2 User and K2 Frontend

Fatal Error between K2 User and K2 Frontend

Category: English K2 Community

a) Override component.php and add it there. Simple.

b) The error occurs because of the change you do. Regardless of that, you're missing for not using K2 v2.10.3.
  • Michael Gulyaev
  • Michael Gulyaev's Avatar
05 May 2020 18:49 - 05 May 2020 18:51
Replied by Michael Gulyaev on topic Fatal Error between K2 User and K2 Frontend

Fatal Error between K2 User and K2 Frontend

Category: English K2 Community

a) I need the header from my template in the K2 frontend edit form. How can I do that? May be another method exist?

b) This fatal error is fixed in the new version of K2?
  • JoomlaWorks
  • JoomlaWorks's Avatar
05 May 2020 18:45
Replied by JoomlaWorks on topic Fatal Error between K2 User and K2 Frontend

Fatal Error between K2 User and K2 Frontend

Category: English K2 Community

a) Don't do that. There's a reason it's loaded in the component.php sub-template.

b) You should upgrade to K2 v2.10.3 ASAP.
  • Michael Gulyaev
  • Michael Gulyaev's Avatar
05 May 2020 14:58
Fatal Error between K2 User and K2 Frontend was created by Michael Gulyaev

Fatal Error between K2 User and K2 Frontend

Category: English K2 Community

Hi.
I have a fatal error "Call to undefined method K2ModelItem::getUserProfile()" when I click on the menu to form of K2 frontend. This error appeared after I changed the "component" to "index" in the file item.php to use the header from my template:

public function edit()
{
JRequest::setVar('tmpl', 'index');

I noticed that this error disappears if I disable the "K2 User" module, which is in the header of the template. Can you help me to solve my problem?
K2 v. 2.9.0, Joomla 3.9.12 Stable.
  • mjmartino
  • mjmartino's Avatar
14 Apr 2020 17:49
K2 + SP Page builder was created by mjmartino

K2 + SP Page builder

Category: English K2 Community

Hi
Has anyone encountered a problem with the new K2 and SP Page builder?

Fatal error: Cannot declare class SppagebuilderHelperK2, because the name is already in use in
sppagebuilder/helpers/k2.php

?
  • Michael
  • Michael's Avatar
14 Feb 2020 20:48
Function broken after K2 upgrade was created by Michael

Function broken after K2 upgrade

Category: English K2 Community

Hello,

I recently updated K2 from version 2.9 to version 2.10. I read in the documentation that this upgrade was safe for all template overrides, however, that does not seem to be the case for me.

After upgrading, I was hit with this error all over the site:
"Fatal error: Call to undefined method K2HelperUtilities::getFieldValue()"

I use this function to get extra fields from K2 items. Was this function changed in 2.10? Or is there another way to fix this?

Thanks!
  • Ian melin-Jones
  • Ian melin-Jones's Avatar
14 Feb 2020 10:35
Replied by Ian melin-Jones on topic k2 editor in the backend does not render correctly

k2 editor in the backend does not render correctly

Category: English K2 Community

Hi again I have the error now maybe this will shed some light on the matter and hopefully you might be able to help as I have tried everything

Fatal error: Class 'JFormField' not found in /home/content/98/8665798/html/INTERNATIONALMETALTUBE/libraries/joomla/form/fields/text.php on line 22

Br.
Ian
  • Rex Tsai
  • Rex Tsai's Avatar
15 Jan 2020 08:05

after installing K2 2.10.2 ... all my articles can't be shown on site

Category: English K2 Community

after installing the new K2 2.10.2 version, even though on the admin side of Joomla I see the install was a success, we are not able to see our article in the front end. an error message is shown Fatal error: Can't use method return value in write context in /homepages/1/d341242702/htdocs/gouwuhawaii/components/com_k2/views/item/view.html.php on line 468 so now none of the articles are able to show up correctly...

any solution?

thanks
  • Chris Lawson
  • Chris Lawson's Avatar
20 Nov 2019 20:54 - 20 Nov 2019 20:55
Call to a member function isSite() on null was created by Chris Lawson

Call to a member function isSite() on null

Category: English K2 Community

I just upgraded our dev site to K2 2.10.0 and was really excited to see the new look of the back end item administration page.

But I cannot edit any K2 items. If I click on any of the item titles, where normally I would get the edit form, instead I get a KException Error | Fatal Error

Call to a member function isSite() on null.

The line complained about is:

.../administrator/templates/isis/html/com_k2/item/default.php:15

...which is: <?php if($this->mainframe->isSite()): ?>

I have tried clearing the cache, the expired cache, logging out and logging back in again. Before I start disassembling my site to see if there's an extension conflict, can anyone shed any light on what this error means?

I have the whole exception handling and error handling story if that would help.

I am able to edit K2 categories and users
Displaying 21 - 40 out of 1119 results.

Powered by Kunena Forum