Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 09h 38m 13s
Claim 50% off
Solved Templates

Class "K2Model" not found

Asked by Alexander 2 years ago Last activity 2 years ago

Hey,
I was changing the template because there is no update for the template "Finance". I was asking about that two times. The site works with this template.
Today I was changing to the template waynecorp > after activating > ERROR > ..

0
Class "K2Model" not found

Call stack

Function Location

1 () JROOT/components/com_k2/models/itemlist.php:17
2 require_once() JROOT/templates/shaper_wayne_corp/sppagebuilder/fields/k2categories.php:17
3 require_once() JROOT/templates/shaper_wayne_corp/sppagebuilder/addons/articles_slider/admin.php:16
4 require_once() JROOT/components/com_sppagebuilder/builder/classes/base.php:173
5 SpPgaeBuilderBase::loadAddons() JROOT/components/com_sppagebuilder/helpers/helper.php:97
6 SppagebuilderHelperSite::prepareAddonFieldStructures() JROOT/components/com_sppagebuilder/helpers/helper.php:1138
7 SppagebuilderHelperSite::prepareSpacingData() JROOT/administrator/components/com_sppagebuilder/editor/helpers/ApplicationHelper.php:113
8 ApplicationHelper::preparePageData() JROOT/components/com_sppagebuilder/views/page/view.html.php:38
9 SppagebuilderViewPage->display() JROOT/libraries/src/Cache/Controller/ViewController.php:95
10 Joomla\CMS\Cache\Controller\ViewController->get() JROOT/libraries/src/MVC/Controller/BaseController.php:655
11 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_sppagebuilder/controller.php:81
12 SppagebuilderController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:693
13 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_sppagebuilder/sppagebuilder.php:24
14 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
15 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
16 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
17 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
18 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
19 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
20 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
21 require_once() JROOT/index.php:32

I have removed the K2 plugin and transfered it to joomla article. I was working a long time - but now K2 is back.
I found with debugging:
JROOT/templates/shaper_wayne_corp/sppagebuilder/fields/k2categories.php:17
Is that the reason for the error?

What can I do to start with this template?
(I found components/com_k2 > I removed it). In the database I found nothing with K2.

Best regards,
Alex

Accepted answer

Marked as the solution
Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us and glad to know that it's now working. Sometimes cache issues occur. You can now close this post by accepting the answer.

-Regards.

1 more reply

Alexander Asked this

Interesting, today I see no error. The page is loading slow but it works. Why?

Log in to reply.