Problem with opencart extension not working when switching from php5.6 to php7.2

We're using opencart So we have a problem with an options extension, it's called Option Combinations. The problem is the product pages can't be displayed and the options created by the extension disappear when we switch the site over to php7.

We get an error 500 on the product pages and to get the products to display again you have to go to line 63 of [login to view URL] under /system/modification/catalog/model/catalog and change the line from

"$otp_option_data[] = array("


"$otp_option_data = array("

After this edit the products display fine, but the options created by the extension aren't being displayed. If I enable display errors it displays the same error over and over where the options should be,

"PHP Warning: Illegal string offset 'type' in /usr/www/users/xucozurjmj/system/modification/catalog/view/theme/journal2/template/product/[login to view URL] on line 351"

And I don't know what to do to fix it. The option combinations extension is a vqmod xml file. Is the problem with the extension using code not supported in php7, or is it a problem with the journal theme or opencart itself? The latest version of the extension doesn't support our opencart version and our support for it has run out.

The only thing being suggested by my colleague is to update the whole opencart installation to a version that the newer version of the extension supports, but coming from experience having done this before, it sucks. Updating opencart is going to cause way more unnecessary problems with a bunch of other things, and seems overly complicated to maybe fix a problem with one extension as the extension has been taken over by new developers, so I'm not even sure if the options set up in our version of the extension would carry over to the new version of the extension.

So basically we need this extension to work on php7. We'll provide the xml vqmod for testing on opencart running on php7 as we can't give away ftp details to the actual website.

Skills: PHP, Open Cart, Javascript, Software Architecture

See more: opencart sitemap working, opencart extension vendor, backup opencart extension, opencart extension development, opencart extension filter, product problem opencart, checkout problem opencart, canpar opencart extension, checkout page problem opencart, opencart cart working, opencart extension database, vqmod opencart extension, mailchimp opencart extension, opencart extension invoice, opencart extension module database, opencart extension installer not working

About the Employer:
( 0 reviews ) Port Elizabeth, South Africa

Project ID: #22082301

Awarded to:


Hi, I can help you fix the error of extension working on PHP 7. Feel free to contact me, and further discussion.

$30 USD in 1 day
(1 Review)

8 freelancers are bidding on average $64 for this job


Hi Sir,I Have read your project description.i have 8 year exp. in opencart. I am perfect developer for this job. Please check my review and rating and match my skills with your requirement. I want to discuss more deta More

$100 USD in 3 days
(381 Reviews)

Hi, we have read the job details carefully and we are sure that we can do the project very well. We are india based registered company since 8+ years. We ar [login to view URL] that is plugin development and theme More

$105 USD in 15 days
(172 Reviews)

Hi, I am Joomla,PHP programmer having 5 years of experience. I am very good in wordpress,php,mysql,joomla. I have done highest projects here in Joomla. You can see my joomla profile here [login to view URL]

$30 USD in 1 day
(428 Reviews)

Dear Hiring Manager, After reviewing your job description, it’s clear that you’re looking for a candidate that is extremely familiar with the responsibilities associated with the role, and can perform them confidently More

$30 USD in 7 days
(3 Reviews)

Hello, I am Opencart expert. I have read job description. So the extension is working fine with Opencart and PHP5.6? The only problem is when you switch to php 7? Thanks Harsh

$75 USD in 3 days
(2 Reviews)

Hello, I am experienced Open Cart developer with 5 years experience. I have checked entire job description, the problem is the product pages can't be displayed and the options created by the extension disappear when More

$110 USD in 7 days
(0 Reviews)

- previous experience in such topics ; - eager to discuss a lot in this chat stream ; - degree stats / maths ;

$28 USD in 1 day
(0 Reviews)