VM 3.0.14 error message: Warning: strpos(): Offset not contained in string

Started by prokops, March 15, 2016, 11:23:50 AM

Previous topic - Next topic

prokops

Hi!

I just updated my test VM site with 3.0.14 and now I get the following error:

QuoteWarning: strpos(): Offset not contained in string in x:\Test\x.com\administrator\components\com_virtuemart\plugins\vmpsplugin.php on line 778

Can you advise how to amend this?

Cheers,

Milbo

strange, I really wonder how that happened.


if(strpos($t,'/',$t!==FALSE)){


Should be

if(strpos($t,'/')!==FALSE){
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Mike J

I just got the same error with Joomla! 3.5.1 /VirtueMart 3.0.14 - Milbo's tweak fixed it!
VirtueMart 4.0.2 10661
Joomla! ‎3.10.11
PHP 7.4.30
mysql 5.7.39

chivitli


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/