VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: fale on October 20, 2016, 01:26:05 AM

Title: Error with PHP 7: Cannot access property started with '\0'
Post by: fale on October 20, 2016, 01:26:05 AM
Hi there!

I have a big problem. The error appears when you open the product card.

instead of opening the product cards - I see: Can not access property started with '\ 0'

If I go back to the php 5.6.25 - everything works fine.

How to fix it?

My configuration:  VirtueMart 3.0.14 + Joomla! 3.6.3 + PHP 7.0.10 (PHP 5.6.25)

Title: Re: Error with PHP 7: Cannot access property started with '\0'
Post by: jenkinhill on October 20, 2016, 09:36:53 AM
VM3.0.16 is compatible with PHP7 - we are now at VM3.0.18    http://dev.virtuemart.net/projects/virtuemart/files

See this for advice if you use template overrides: https://virtuemart.net/news/latest-news/477-release-of-3-0-18-connecting-the-loose-ends
Title: Re: Error with PHP 7: Cannot access property started with '\0'
Post by: GJC Web Design on October 20, 2016, 11:39:16 AM
and with this combo  VirtueMart 3.0.14 + Joomla! 3.6.3 - I assume your VM emails aren't working as well  -- min 3.0.16
Title: Re: Error with PHP 7: Cannot access property started with '\0'
Post by: fale on October 20, 2016, 17:20:00 PM
Thank you all for your help!

I updated to the latest version VirtueMart 3.0.18

For the purity of the experiment I used a template protostar - Default.  Then I connect PHP 7.0.10

Unfortunately I am experiencing the same problem: Cannot access property started with '\0'    . individual product page - page does not exist.

With PHP 5.6.25 - everything works. No error.

Please tell me exactly where I need to change the code?

My configuration:  VirtueMart 3.0.18 + Joomla! 3.6.3 + PHP 7.0.10 (PHP 5.6.25)
Title: Re: Error with PHP 7: Cannot access property started with '\0'
Post by: GJC Web Design on October 20, 2016, 18:58:58 PM
this could easily be from an extension etc -- you need to investigate your logs, push up error reporting etc

could be from any where