已完成

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.

技能: PHP, Open Cart, Javascript, 软件构架

查看更多: 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

关于此雇主:
( 0个评论 ) Port Elizabeth, South Africa

项目ID: #22082301

授予:

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 在1天内
(1条评论)
1.4

8 威客就此工作平均出价 $64

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 更多

$100 USD 在3天内
(381条评论)
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 更多

$105 USD 在15天内
(172条评论)
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]

$30USD 在1天里
(428条评论)
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 更多

$30 USD 在7天内
(3条评论)
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 在3天内
(2条评论)
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 更多

$110 USD 在7天内
(0条评论)
0.0
manu83tudo

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

$28USD 在1天里
(0条评论)
0.0