Hi. I need some assistance, guidance, help etc please. Basically, the hosting company is forcing a change to PHP8. We updated Joomla (3.10.11) and the plugins and everything seems to be fine except for the My Account page. Reverting back to PHP7.4 it works fine but on PHP8 the following error comes up:
Error: Failed opening required '/usr/www/users/kznden/libraries/joomla/document/html/renderer/head.php' (include_path='.:/usr/share/php'): Cannot access offset of type string on string
Any ideas on this error? We're a bit desperate at this stage since PHP7.4 will be remove on 28 Nov...
Thanks
Which VirtueMart version are you using?
Hi
I updated the files to VirtueMart 4.0.7 10716 in an effort to sort this out but no luck.
Regards
Wynand
you need to provide a trace for the error
https://forum.virtuemart.net/index.php?topic=117042.0
I mentioned the error in my original post
Error: Failed opening required '/usr/www/users/kznden/libraries/joomla/document/html/renderer/head.php' (include_path='.:/usr/share/php'): Cannot access offset of type string on string
that is an error -- provide also the trace!
Not sure what you mean by trace?
Use n3t DEbug plugin - he show trace (all links for files used with login) and show error too
https://bitbucket.org/n3t/n3t-debug/downloads/
I don't know how this works. How do you use this software? Is there steps on it somewhere?
add your IP adress and make on.
That is all
Cool I've done this now
I see this. Any ideas?
File: .../www/users/kznden/libraries/src/HTML/HTMLHelper.php:626
616:
617: // Old parameters.
618: $attribs = isset($argList[1]) ? $argList[1] : array();
619: $options['relative'] = isset($argList[2]) ? $argList[2] : false;
620: $options['pathOnly'] = isset($argList[3]) ? $argList[3] : false;
621: $options['detectBrowser'] = isset($argList[4]) ? $argList[4] : true;
622: $options['detectDebug'] = isset($argList[5]) ? $argList[5] : true;
623: }
624: else
625: {
626: $options['relative'] = isset($options['relative']) ? $options['relative'] : false;
627: $options['pathOnly'] = isset($options['pathOnly']) ? $options['pathOnly'] : false;
628: $options['detectBrowser'] = isset($options['detectBrowser']) ? $options['detectBrowser'] : true;
629: $options['detectDebug'] = isset($options['detectDebug']) ? $options['detectDebug'] : true;
630: }
And then under the Call Stack:
.../templates/vina_dilima/html/com_virtuemart/user/edit.php:24
.../www/users/kznden/libraries/src/MVC/View/HtmlView.php:701
.../kznden/components/com_virtuemart/helpers/vmview.php:81
.../components/com_virtuemart/views/user/view.html.php:245
.../kznden/components/com_virtuemart/controllers/user.php:59
.../kznden/libraries/src/MVC/Controller/BaseController.php:702
.../users/kznden/components/com_virtuemart/virtuemart.php:128
.../kznden/libraries/src/Component/ComponentHelper.php:402
.../kznden/libraries/src/Component/ComponentHelper.php:377
.../kznden/libraries/src/Application/SiteApplication.php:194
.../kznden/libraries/src/Application/SiteApplication.php:233
.../kznden/libraries/src/Application/CMSApplication.php:225
/usr/www/users/kznden/index.php:49
screen will be better
must be like fatal error 500
But problem is in your template not in VM, sorry :)
templates/vina_dilima/html/com_virtuemart/user/edit.php:24
Write developpers of template :)
Thank you. I'll check with them