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?
Go in your config and store it one time, should solve it
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
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:
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.
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
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
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
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.
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.
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 ! :)
The server I have is running VM2.0.1 K, J1.5.25 and PHP 5.2.17.
Hope this helps.
Yes immediatly update to the latest version ! ! Core and AIO !
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
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
VM2.0.2 works fine with Joomla 2.5.1's native SEF. Not with J1.5, though.
That's what it was... I turned off SEF for 1.5.25 and the error went away.
I have the same problem when upgrading an eshop from vm 1.1.9 to vm 2.0.2. I have joomla 1.5. Go to your joomla site menu and edit the menu item that points out to your eshop. The vm2 has various types for the menu, not only one Type = Virtuemart that the 1.1.9 had. If you correct the type of your eshop menu item, this error message in the front - end goes away.
Regards,
Penelope
Penelope,
Could you clarify something for me ?
Are you saying that in the Joomla Global Configuration you have Search Engine Friendly URLs set to YES and you are not getting errors in the front end ?
And of the 18 odd Virtuemart menu configurations - which one are you using ?
Many Thanks
:o Yes, I too turned off SEF in Joomla and errors went away. I tried every possible work-around between Joom SEF and VirtMart SEO.. to no avail.
Is so wierd that it all worked fine for a week with pretty URL's !
Any ideas? Would really get back to SEF URL's or what is the purpose of it in the first place!
:'(
I had the same error. Joomla 1.5 and VM 2.0.6 and the solution of penart works for me.
You have a lot of different menu choises and you have to choose the latest one. VirtueMart - VirtueMart Front page
Hi there guys!
I found how to fix that error. It is really simple, just somebody has to read it.
Open menu.php and find line 127. Add quotes to $id just as it is shown below:
if (isset($this->_items["$id"]))
It works perfect for me.
I really don't know php much, but from another forum they spoke about the same error and I saw a reference to this page http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing and decided to read it.
Hope this helps :)
Using Joomla 1.5.2 and VirtueMart 2.0.6 and had same problem, the message appeared if I marked
Search Engine Friendly URLs (from the Global Configuration) to Yes and if I marked as NO then the error message would disappear. Here what I did:
- on Global Configuration marked Search Engine Friendly URLs to NO and Use Apach mod_rewrite to NO too
- Installed AceSEF
- On the website root (the main folder), I renamed htaccess.txt to .htaccess
- Went back to global configuration and marked Search Engine Friendly URLs as YES and Use Apache mod_rewrite as YES
Now it works, not sure if installing AceSEF made any diffrence and in fact I didn't install it to fix it but it did fix so I guess you guys could have a go and see if it works, the program is free and you can find here: http://extensions.joomla.org/extensions/site-management/sef/10019?qh=YTo2OntpOjA7czozOiJhY2UiO2k6MTtzOjI6ImFjIjtpOjI7czozOiJzZWYiO2k6MztzOjQ6InNlZnMiO2k6NDtzOjU6InNlZicuIjtpOjU7czo3OiJhY2Ugc2VmIjt9
Hope it works for you guys too. Best of luck :)
Thankyou smithy73 your suggestion work for me. turn off the seo friendly url.
Hi, thank idolism for this solution, this ok for me on joomla 1.5.28 and VM 2.0.12f
in french ...my language
Merci pour votre solution qui fonctionne très pour ma config joomla 1.5.28 and VM 2.0.12f
ainsi, je garde SEF activé.
Quote from: idolism on June 20, 2012, 08:55:08 AM
Hi there guys!
I found how to fix that error. It is really simple, just somebody has to read it.
Open menu.php and find line 127. Add quotes to $id just as it is shown below:
if (isset($this->_items["$id"]))
It works perfect for me.
I really don't know php much, but from another forum they spoke about the same error and I saw a reference to this page http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing and decided to read it.
Hope this helps :)
Quote from: idolism on June 20, 2012, 08:55:08 AM
Hi there guys!
I found how to fix that error. It is really simple, just somebody has to read it.
Open menu.php and find line 127. Add quotes to $id just as it is shown below:
if (isset($this->_items["$id"]))
It works perfect for me.
I really don't know php much, but from another forum they spoke about the same error and I saw a reference to this page http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing and decided to read it.
Hope this helps :)
Thank you sooo much! You were absolutely correct. I am using Joomla 1.5 and VM 2.08e and this fixed the problem completely for me.
Quote from: idolism on June 20, 2012, 08:55:08 AM
Hi there guys!
I found how to fix that error. It is really simple, just somebody has to read it.
Open menu.php and find line 127. Add quotes to $id just as it is shown below:
if (isset($this->_items["$id"]))
It works perfect for me.
I really don't know php much, but from another forum they spoke about the same error and I saw a reference to this page http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing and decided to read it.
Hope this helps :)
Thanks, it's the solution! 8)
Joomla 1.5 / VM 2.20 - wamp server and php 5.3
Just a note, Joomla 1.5 compatibility is no longer actively supported. http://virtuemart.net/news/list-all-news/426-end-of-life-for-virtuemart-11-heidelpay-now-in-virtuemart-2012
"We decided to declare now the end of life for VirtueMart 1.1, and that the version 2 of VirtueMart is not any longer maintaining joomla 1.5 compatibility." 4 October 2012