News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VirtueMart 2.0.1

Started by pugwash94, February 04, 2012, 14:07:49 PM

Previous topic - Next topic

pugwash94

I have just installed / upgraded to VirtueMart 2.0.1

I now get the following on all VM Modules

Warning: Illegal offset type in isset or empty in /var/www/vhosts/crmsaw.co.uk/httpdocs/libraries/joomla/application/menu.php on line 127

and nothing works in frontend of VM - any suggestions?

Milbo

Go in your config and store it one time, should solve it
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

smithy73

Aplogies for the post dig.....
I'm getting the same error  (V2.0.1 K and J1.5.25)

Quote from: Milbo on February 04, 2012, 16:02:58 PM
Go in your config and store it one time, should solve it

Could someone explain this to me like I'm a 3 YO ?  ;)

Many Thanks in advance.
Smithy

PRO

Quote from: smithy73 on February 19, 2012, 14:05:20 PM
Aplogies for the post dig.....
I'm getting the same error  (V2.0.1 K and J1.5.25)

Quote from: Milbo on February 04, 2012, 16:02:58 PM
Go in your config and store it one time, should solve it

Could someone explain this to me like I'm a 3 YO ?  ;)

Many Thanks in advance.
Smithy


go into vmart configuration, and hit "save:

smithy73

Thanks guys - tried that to no avail.
Any other thoughts ?

I've inherited the site so I might try a clean install and see if same happens.

PRO

smithy, after looking at the error, and it refers to the menu items.

Have a look at the menu items to vmart.

Make sure they are correct

jcyphert

My upgrade in doing the same thing. I removed the menu Irene and r added it but still no go. I also saved both the config and the store setup

flexconcept

Here the same problems with Virtuemart 2.0.2... Saving the config did not do the trick.
The only way to hide the error is to add in .htaccess : php_flag display_errors off

But that does not make the error goes away. It only hides it...  Any solutions??

Warning: Illegal offset type in isset or empty in menu.php on line 127

Kind regards,  Evert
Flexconcept

jenkinhill

That is not an error - it is a warning about code which may or may not work with the next major update of PHP  Like http://forum.virtuemart.net/index.php?topic=98230.0

And because of possible confusing error reporting in Joomla there is a switch in Joomla configuration/server to set the required level of error reports.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

Milbo

Hmm but nasty, I dont get it. Maybe it is a joomla error? I mean, it is in joomla library.
And for which modules it does appear? really for all modules? When someone is eager to contact me, I may take a look via skype. Posting your php version may also help.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

mm688

Hello,

I have the same problem when i make a research with the module vm_virtuemart_search :

Warning: Illegal offset type in isset or empty in /www/libraries/joomla/application/menu.php on line 127

What I can do what for resolve this problem ?

Thanks for all, and sorry for my english !  :)

smithy73

#11
The server I have is running VM2.0.1 K, J1.5.25 and PHP 5.2.17.

Hope this helps.

Milbo

Yes immediatly update to the latest version ! ! Core and AIO !
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

smithy73

OK now I'm a little more worried.
Upgraded to VM V 2.02 - no change.
All Virtuemart components, plugin and modules uninstalled. Including 3rd party.
Deleted relevant folders via FTP.
Reinstalled VMart 2.02 Core and AIO, Cleared the DB's.

No Change.  ???

Quote from: flexconcept on February 27, 2012, 15:05:45 PM
The only way to hide the error is to add in .htaccess : php_flag display_errors off

Happy to settle for this alternative at the moment. New .htaccess or existing - path ?

Any help - much appreciated.

Many Thanks
Smithy73

smithy73

OK so - some progress.
A bit of two steps forward - one step back.

Could this fix be so simple as to turn off the Search Engine Friendly URLS in Joomla?
Well thats what I did - and functionally seems to be working fine.  :D
Turned the SEF back on and errors came back.  :(

Am I missing something ?
How do I get my URLs back to SE Friendly ?

Many Thanks