News:

Support the VirtueMart project and become a member

Main Menu

Syntax error on 3.6.1.10134_package_or_extract.zip

Started by MKI-Miro, September 11, 2019, 22:10:41 PM

Previous topic - Next topic

MKI-Miro

Hi

When I installed 3.6.1.10134_package_or_extract.zip (AIO) i got this error:

0 - syntax error, unexpected '$this' (T_VARIABLE), expecting function (T_FUNCTION) or const (T_CONST)

Joomla 3.9.11
PHP 7.3.7

you can see at https://www.tiens-tianshi.com
edit: i installed com_virtuemart.3.6.1.10129_package_or_extract.zip (AIO) and now site works

hot to fix it?

Thanks

diri

Error with aio occurs when installing via single zip as well as at one site after using package install (looks fine at first glance) when clicking "configuration" in backend.

GJC Web Design

can you try with JOOMLA debug on as this should give the path or trace
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

GJC Web Design

could be this error found by another user

Parse error: syntax error, unexpected '$this' (T_VARIABLE), expecting function (T_FUNCTION) in /plugins/vmcustom/specification/specification.php on line 173

Milbo knows and will correct in next 3.6.1 package
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

I am very sorry for this guys.

The file was open in the IDE and I did a copy pase to another file and you maybe know that, when you paste and nothing happens, the window was not activ. Most time such pastes land in the void, but this time in the specification plugin. You maybe noticed that I updated a lot copyright notices and so the plugin folder is currently quite red in my ide. I committed the specification plugin before correctly, and so I did not check that file and I was also not wondering about my red folders in the plugin folders. shit happens, for that we have the test releases.

Btw, here is the new test release http://dev.virtuemart.net/attachments/1180/com_virtuemart.3.6.1.10137_package_or_extract.zip

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