Problem after upgrading to 1.7 - YooTheme template

Everything to do with Joomla! 2.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
adamtate
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Jan 04, 2011 9:18 am

Problem after upgrading to 1.7 - YooTheme template

Post by adamtate » Wed Jul 20, 2011 12:44 pm

Hello,

Urgent help required!!!

I've upgraded to 1.7 and now my website just says:

Code: Select all

Fatal error: Call to a member function get() on a non-object in C:\xampp\sites\st-chads.co.uk\public_html\joomla\templates\yoo_explorer\warp\systems\joomla.1.6\menus\pre.php on line 60
The line (as far as I can work out is:

Code: Select all

$parts = preg_split('/[\s]+/', $item->params->get('pageclass_sfx'));
The theme im using is yoo_explorer by YooTheme for J1.6 - Could anybody point me in the right direction of why it's not working?

ANY HELP MASSIVELY APPRECIATED!

Adam

User avatar
alikon
Joomla! Champion
Joomla! Champion
Posts: 5941
Joined: Fri Aug 19, 2005 10:46 am
Location: Roma
Contact:

Re: Problem after upgrading to 1.7 - YooTheme template

Post by alikon » Wed Jul 20, 2011 1:07 pm

is that template commercial ?
so if yes ask support to the developer

the Jparameter class is deprecated
Nicola Galgano
i know that i don't know
www.alikonweb.it

hominid4
Joomla! Explorer
Joomla! Explorer
Posts: 320
Joined: Sat Nov 22, 2008 6:52 pm
Location: Southern California
Contact:

Re: Problem after upgrading to 1.7 - YooTheme template

Post by hominid4 » Wed Jul 20, 2011 3:13 pm

Hi Adam, I had the same problem, I upgraded to the latest WARP version and that fixed it.

- Wesley

adamtate
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Jan 04, 2011 9:18 am

Re: Problem after upgrading to 1.7 - YooTheme template

Post by adamtate » Wed Jul 20, 2011 3:49 pm

Hi Wesley

Thanks for the reply - this sounds promising but I'm new to joomla and I'm not sure what warp is!!! Any change of a little more info!?

Thanks again

Adam

hominid4
Joomla! Explorer
Joomla! Explorer
Posts: 320
Joined: Sat Nov 22, 2008 6:52 pm
Location: Southern California
Contact:

Re: Problem after upgrading to 1.7 - YooTheme template

Post by hominid4 » Wed Jul 20, 2011 4:10 pm

Hi Adam, sorry, no problem. WARP is YOOtheme's framework so the error will be with your template, instead of Joomla, the WARP version you have isn't compatible with Joomla v1.7. Within your YOOtheme's template folder that you're using you'll see a "warp" folder. Within that folder if you open the "warp.xml" file it'll tell you what version you have, my version was something like 5.5.16 and it was giving me that error, I downloaded the latest YOOtheme template package of my template and it had WARP version 6.0.5 (I believe), I installed that and it fixed that error. You'll need a newer YOOtheme template and you should be good to go.

Here's more about their WARP framework:
http://www.yootheme.com/warp/

- Wesley

User avatar
bbelau
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Jun 12, 2006 7:20 pm
Location: Appleton, Wisconsin
Contact:

Re: Problem after upgrading to 1.7 - YooTheme template

Post by bbelau » Wed Jul 20, 2011 4:55 pm

In your YooTheme template folder, open warp/systems/joomla.1.6/menus/pre.php

around line 38, look for

Code: Select all

foreach ($xmlobj->children('li') as $li) {
change to:

Code: Select all

foreach ($xmlobj->children('li id') as $li) {
Puting the "id" in there let me load the template without having to update Warp.

Hope that helps!
Brett Belau, B2 Computing Web Design
Website: http://b2computing.com
Twitter: http://twitter.com/bbelau

hominid4
Joomla! Explorer
Joomla! Explorer
Posts: 320
Joined: Sat Nov 22, 2008 6:52 pm
Location: Southern California
Contact:

Re: Problem after upgrading to 1.7 - YooTheme template

Post by hominid4 » Wed Jul 20, 2011 5:04 pm

Great find bbelau!

- Wesley

User avatar
bbelau
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Jun 12, 2006 7:20 pm
Location: Appleton, Wisconsin
Contact:

Re: Problem after upgrading to 1.7 - YooTheme template

Post by bbelau » Wed Jul 20, 2011 5:19 pm

Thanks Wesley, too bad it took most of my morning! :eek:
Brett Belau, B2 Computing Web Design
Website: http://b2computing.com
Twitter: http://twitter.com/bbelau

hominid4
Joomla! Explorer
Joomla! Explorer
Posts: 320
Joined: Sat Nov 22, 2008 6:52 pm
Location: Southern California
Contact:

Re: Problem after upgrading to 1.7 - YooTheme template

Post by hominid4 » Wed Jul 20, 2011 8:56 pm

I know how that is! :)

I just tried you code adjustment on another YOOtheme site that I just now upgraded to v1.7 and it worked like a charm!

- Wesley

cows
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue May 25, 2010 5:02 am

Re: Problem after upgrading to 1.7 - YooTheme template

Post by cows » Thu Jul 28, 2011 12:44 am

Thanks bbelau, worked great!

TownWebsites
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Tue Jan 11, 2011 4:00 am
Contact:

Re: Problem after upgrading to 1.7 - YooTheme template

Post by TownWebsites » Tue Aug 23, 2011 1:42 am

Thanks for the patch fix!

Charlie
Town Websites

SpotlightNC
Joomla! Apprentice
Joomla! Apprentice
Posts: 44
Joined: Sun Aug 22, 2010 2:05 am

Re: Problem after upgrading to 1.7 - YooTheme template

Post by SpotlightNC » Mon Feb 20, 2012 12:22 am

bbelau wrote:In your YooTheme template folder, open warp/systems/joomla.1.6/menus/pre.php

around line 38, look for

Code: Select all

foreach ($xmlobj->children('li') as $li) {
change to:

Code: Select all

foreach ($xmlobj->children('li id') as $li) {
Puting the "id" in there let me load the template without having to update Warp.

Hope that helps!
:D You saved me so much time! Upgraded a site I hadn't worked on in a while to 2.5 and the Air template broke, luckily I found your answer here and it rescued me. Thank You Soooo Much!


Locked

Return to “Templates for Joomla! 2.5”