Author Topic: php version 8.x.x  (Read 4323 times)

erwinds

  • Beginner
  • *
  • Posts: 32
  • A beginner
php version 8.x.x
« on: May 20, 2021, 10:37:09 am »
hi,

is virtuemart compatible with PHP version 8.x.x?
When I switch my hosting from PHP version 7.4.x to 8.x.x I get an error message
can you check this and let us know please
Best regards,
Erwin

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3629
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: php version 8.x.x
« Reply #1 on: May 20, 2021, 10:48:27 am »
AFAIK there are still some small things left for it to be compatible.

What VM version are You using ?

What error do you get ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

erwinds

  • Beginner
  • *
  • Posts: 32
  • A beginner
Re: php version 8.x.x
« Reply #2 on: May 22, 2021, 11:32:10 am »
hi,

vm version 3.8.8
joomla 3.9.24

error see attachment

 

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10217
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: php version 8.x.x
« Reply #3 on: May 22, 2021, 12:17:33 pm »
you need to provide a trace .. could come from anywhere .. incl. Joomla or 3rd party extensions
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

erwinds

  • Beginner
  • *
  • Posts: 32
  • A beginner
Re: php version 8.x.x
« Reply #4 on: May 22, 2021, 12:28:56 pm »
hi GJC,

this is my website => https://www.wineinthewoods.shop/
joomla version 3.9.26
VM version 3.8.8
Now is php version 7.4.16
but is php version 8.x.x ==>error see attachment

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10217
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: php version 8.x.x
« Reply #5 on: May 22, 2021, 12:37:20 pm »
you need to provide a trace by enabling Joomla debug etc

so u see something like

Backtrace:
/home/xxxxx/public_html/components/com_osservicesbooking/helpers/common.php:248
#0 /home/xxxxx/public_html/components/com_osservicesbooking/classes/ajax.php(1645): HelperOSappscheduleCommon::sendEmail('confirm2', '205', '774')
#1 /home/xxxxx/public_html/components/com_osservicesbooking/classes/ajax.php(65): OsAppscheduleAjax::confirmTimeSlot(NULL)
#2 /home/xxxxx/public_html/components/com_osservicesbooking/osservicesbooking.php(197): OsAppscheduleAjax::display(NULL, 'ajax_confirmtim...')
#3 /home/xxxxx/public_html/libraries/src/Component/ComponentHelper.php(402): require_once('/home/xxxxx/...')
#4 /home/xxxxx/public_html/libraries/src/Component/ComponentHelper.php(377): Joomla\CMS\Component\ComponentHelper::executeComponent('/home/xxxxx/...')
#5 /home/xxxxx/public_html/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_osservicesb...')
#6 /home/xxxxx/public_html/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()
#7 /home/xxxxx/public_html/libraries/src/Application/CMSApplication.php(203): Joomla\CMS\Application\SiteApplication->doExecute()
#8 /home/xxxxx/public_html/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#9 {main}

or use https://www.rupostel.com/utilities-for-joomla/extensions/fatal-catcher-plugin
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

erwinds

  • Beginner
  • *
  • Posts: 32
  • A beginner
Re: php version 8.x.x
« Reply #6 on: May 22, 2021, 12:50:30 pm »
hi,
is this what you need?

If the problems persist, please contact the system administrator of this website and report the error below.
array_key_exists(): Argument #2 ($array) must be of type array, stdClass given
/home/barts/domains/wineinthewoods.shop/public_html/plugins/system/yagendoo_system_plugin/src/framework_v2/helper.misc.php:1639

Call stack
#   Function   Location
1   ()   JROOT/plugins/system/yagendoo_system_plugin/src/framework_v2/helper.misc.php:1639
2   YagMiscHelper::getBootstrapHideClasses()   JROOT/plugins/system/yagendoo_system_plugin/src/framework_v2/classes/class.yagendoo_grid.inc.php:308
3   yagendoo_grid::row()   JROOT/templates/yag_vino_veritas_etemplate/index.php:148
4   require()   JROOT/libraries/src/Document/HtmlDocument.php:668
5   Joomla\CMS\Document\HtmlDocument->_loadTemplate()   JROOT/libraries/src/Document/HtmlDocument.php:730
6   Joomla\CMS\Document\HtmlDocument->_fetchTemplate()   JROOT/libraries/src/Document/HtmlDocument.php:545
7   Joomla\CMS\Document\HtmlDocument->parse()   JROOT/libraries/src/Application/CMSApplication.php:1076
8   Joomla\CMS\Application\CMSApplication->render()   JROOT/libraries/src/Application/SiteApplication.php:778
9   Joomla\CMS\Application\SiteApplication->render()   JROOT/libraries/src/Application/CMSApplication.php:209
10   Joomla\CMS\Application\CMSApplication->execute()   JROOT/index.php:49

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28177
  • Always on vacation
    • Jenkin Hill Internet
Re: php version 8.x.x
« Reply #7 on: May 22, 2021, 16:56:13 pm »
So the error report is:

array_key_exists(): Argument #2 ($array) must be of type array, stdClass given
/home/barts/domains/wineinthewoods.shop/public_html/plugins/system/yagendoo_system_plugin/src/framework_v2/helper.misc.php:1639

Looks like a template issue.....
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.28 PHP 7.4.14

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10217
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: php version 8.x.x
« Reply #8 on: May 22, 2021, 17:18:39 pm »
As Jenks says ... template .. so nothing to do with VM
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

erwinds

  • Beginner
  • *
  • Posts: 32
  • A beginner
Re: php version 8.x.x
« Reply #9 on: May 22, 2021, 18:38:46 pm »
hallo,

thanks for the info will check with the company where I bought the template