Post by ervinsc » Mon Aug 30, 2021 9:08 am

I've got this... Anybody can help?
I tried to do some improvments following the info in forums (replace the white background on the product image popup). I haven't done something special, just tried to change colour codes - finally the site is down..... admin area still working
OC 3.0.3.7

Fatal error: Uncaught TypeError: Argument 1 passed to Image::resize() must be of the type int, string given, called in /home/dodopost/public_html/catalog/model/tool/image.php on line 34 and defined in /home/dodopost/public_html/system/library/image.php:143 Stack trace: #0 /home/dodopost/public_html/catalog/model/tool/image.php(34): Image->resize('auto', 'auto') #1 /home/dodopost/ocartdata/storage/modification/system/engine/loader.php(248): ModelToolImage->resize('catalog/product...', 'auto', 'auto') #2 /home/dodopost/public_html/system/engine/proxy.php(47): Loader->{closure}(Array, Array) #3 /home/dodopost/ocartdata/storage/modification/catalog/controller/extension/module/featured.php(62): Proxy->__call('resize', Array) #4 /home/dodopost/ocartdata/storage/modification/system/engine/action.php(79): ControllerExtensionModuleFeatured->index(Array) #5 /home/dodopost/ocartdata/storage/modification/system/engine/loader.php(48): Action->execute(Object(Registry), Array) #6 /home/dodopost/ocartdata/storage/modification/catalog/con in /home/dodopost/public_html/system/library/image.php on line 143

Newbie

Posts

Joined
Thu Aug 26, 2021 3:49 am

Post by Cue4cheap » Mon Aug 30, 2021 10:58 am

Put the original files back.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by ervinsc » Mon Aug 30, 2021 3:30 pm

It was done but still not any changes

Newbie

Posts

Joined
Thu Aug 26, 2021 3:49 am

Post by thekrotek » Mon Aug 30, 2021 3:44 pm

Ask a developer to look into your issue personally if you're not able to fix it yourself.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by ADD Creative » Mon Aug 30, 2021 5:51 pm

Looks like you have a modification changing storage/modification/catalog/controller/extension/module/featured.php that is messing up the image sizes. Check the image sizes are set correctly in the module settings.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by straightlight » Mon Aug 30, 2021 6:47 pm

Uninstall the extension from the OC admin > extensions > installer page and clear your SASS, developers and modifications cache. The error message should disappear. Therefore, get in touch with the extension developer to resolve the issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: ianhaney50, Semrush [Bot] and 10 guests