VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: Kuubs on November 11, 2022, 16:07:59 PM

Title: PHP8 error code mediahandler: Unsupported operand types: string + int
Post by: Kuubs on November 11, 2022, 16:07:59 PM
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.
Title: Re: PHP8 error code mediahandler: Unsupported operand types: string + int
Post by: GJC Web Design on November 12, 2022, 11:17:55 AM
should be fixed  in https://dev.virtuemart.net/attachments/download/1340/com_virtuemart.4.0.7.10732_package_or_extract.zip

if not then the next release as bug found
Title: Re: PHP8 error code mediahandler: Unsupported operand types: string + int
Post by: Kuubs on November 12, 2022, 23:53:02 PM
Quote from: GJC Web Design on November 12, 2022, 11:17:55 AM
should be fixed  in https://dev.virtuemart.net/attachments/download/1340/com_virtuemart.4.0.7.10732_package_or_extract.zip

if not then the next release as bug found
Its not fixed in 10732
Title: Re: PHP8 error code mediahandler: Unsupported operand types: string + int
Post by: GJC Web Design on November 13, 2022, 10:18:25 AM
then the next one .. was discussed at length in the testers chat
Title: Re: PHP8 error code mediahandler: Unsupported operand types: string + int
Post by: Kuubs on November 13, 2022, 10:35:28 AM
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.