Author Topic: Message: Warning: Cannot assign an empty string to a string offset  (Read 338 times)

coldchocolate

  • Beginner
  • *
  • Posts: 1
We are using Joomla 3.8.5 German / virtuemart 3.2.12.9708 on PHP7.2.2 and Maria DB10 on Plesk Onyx 17.0.17

After proper installation of Joomla and by the following step installation of virtuemart the message shows up: Installation sucessful
But above the folllowing error message appears:
Warning: Cannot assign an empty string to a string offset in /home/httpd/vhosts/domain.com/httpdocs/tmp/install_5a8a754243bdf/administrator/components/com_virtuemart/helpers/tableupdater.php on line 204

I wasn't able to find an answer, so I hope somebody can help over here. Thanks for your effort. coldchocolate

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1463
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Message: Warning: Cannot assign an empty string to a string offset
« Reply #1 on: February 19, 2018, 11:47:04 am »
This has probabaly with PHP 7.2.2 to do, VM is AFAIK only compatible with PHP 7.0

regards

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3039
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Message: Warning: Cannot assign an empty string to a string offset
« Reply #2 on: February 19, 2018, 18:26:27 pm »
And Vm is not compatible mysql PDO, check Joomla config and use mysqli

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9591
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Message: Warning: Cannot assign an empty string to a string offset
« Reply #3 on: March 15, 2018, 15:07:08 pm »
Is fixed in the new core, please try http://forum.virtuemart.net/index.php?topic=139652.0
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/