News:

Support the VirtueMart project and become a member

Main Menu

php version 8.x.x

Started by erwinds, May 20, 2021, 10:37:09 AM

Previous topic - Next topic

erwinds

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

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

hi,

vm version 3.8.8
joomla 3.9.24

error see attachment



GJC Web Design

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 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

erwinds

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

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 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

erwinds

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

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
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

GJC Web Design

As Jenks says ... template .. so nothing to do with VM
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

erwinds

hallo,

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