PHP8 error code mediahandler: Unsupported operand types: string + int

Started by Kuubs, November 11, 2022, 16:07:59 PM

Previous topic - Next topic

Kuubs

Hello,

I finally found the code that is breaking my installation:

Error message data:
1 0: Unsupported operand types: string + int in file:  line: 1315

public_html/administrator/components/com_virtuemart/helpers/mediahandler.php:1315

When I check that line it says this:

$html .= '<td rowspan = "8" min-width = "'.(VmConfig::get('img_width',90)+10).'px" overflow="hidden">';

When I remove the +10 from the html code it works. So this is probably something that needs to be fixed in the core code.

GJC Web Design

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

then the next one .. was discussed at length in the testers chat
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

Kuubs

Quote from: GJC Web Design on November 13, 2022, 10:18:25 AM
then the next one .. was discussed at length in the testers chat

Okay, i'm sorry i am not in the testers chat. So I cannot know that.