Færdiggjort

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

We're using opencart 2.0.3.1. 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("

to

"$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 2.0.3.1 running on php7 as we can't give away ftp details to the actual website.

Evner: PHP, Åben Kurv, Javascript, Software Arkitektur

Se mere: 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

Om arbejdsgiveren:
( 0 bedømmelser ) Port Elizabeth, South Africa

Projekt ID: #22082301

Tildelt til:

arhiNguyen

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

$30 USD på 1 dag
(1 bedømmelse)
1.4

8 freelancere byder i gennemsnit $64 på dette job

sprextech

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 Flere

$100 USD in 3 dage
(381 bedømmelser)
7.9
kodecubeinfosys

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 Flere

$105 USD in 15 dage
(172 bedømmelser)
7.3
sat12

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 på 1 dag
(428 bedømmelser)
7.0
zymerconstantine

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 Flere

$30 USD in 7 dage
(3 bedømmelser)
2.3
outputweb

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

$75 USD in 3 dage
(2 bedømmelser)
2.4
dixitgupta

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 Flere

$110 USD in 7 dage
(0 bedømmelser)
0.0
manu83tudo

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

$28 USD på 1 dag
(0 bedømmelser)
0.0