Author Topic: [SOLVED] VirtueMart Categories Layout in Joomla 3.3.6  (Read 4587 times)

milstan

  • Beginner
  • *
  • Posts: 32
    • VirtueMart templates
[SOLVED] VirtueMart Categories Layout in Joomla 3.3.6
« on: November 24, 2014, 18:07:57 pm »
Hello,

I upgraded my VirtueMart to the latest version 3.0.0. Site worked fine. Then I upgraded my Joomla site from 2.5.27 to 3.3.6 and Menu Item Type > VirtueMart Categories Layout doesn't work any more. I see this error in frontend (PHP 5.5):

Fatal error: Class VirtueMartControllerCategories cannot extend from interface JController in /components/com_virtuemart/controllers/categories.php on line 31

Also, when I try to edit this menu item, I see this error:

Warning
Extension attribute is empty in the category field

Also, it's not possible to select any category in the Select a Category field.

There are no template overrides for VirtueMart in my template.

Thank you for your help.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27572
  • Always on vacation
    • Jenkin Hill Internet
Re: VirtueMart Categories Layout in Joomla 3.3.6
« Reply #1 on: November 24, 2014, 18:26:37 pm »
Please verify that you attempted to use VM Categories layout and not category layout. That (ies) menu option was removed a year ago and has not been included in VM for many versions now.



[attachment cleanup by admin]
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8 10204 on Joomla 3.9.13 PHP 7.0.33

milstan

  • Beginner
  • *
  • Posts: 32
    • VirtueMart templates
Re: VirtueMart Categories Layout in Joomla 3.3.6
« Reply #2 on: November 24, 2014, 18:49:19 pm »
Thank you so much for your help! You saved my day! But I am still wondering why I see the deprecated CategoeIES menu item type at all?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27572
  • Always on vacation
    • Jenkin Hill Internet
Re: VirtueMart Categories Layout in Joomla 3.3.6
« Reply #3 on: November 24, 2014, 18:55:51 pm »
I suspect you have an old site which has been serially updated, but under com_virtuemart/views you still have a historical "categories" directory.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8 10204 on Joomla 3.9.13 PHP 7.0.33

milstan

  • Beginner
  • *
  • Posts: 32
    • VirtueMart templates
Re: VirtueMart Categories Layout in Joomla 3.3.6
« Reply #4 on: November 24, 2014, 19:08:35 pm »
Yes, you are right! I also still have directory /components/com_virtuemart/views/categories. I see it's not included in later VirtueMart versions, so I deleted it (and some others as well).

Thanks again