Post by Schwimpi » Sat Jul 03, 2021 10:51 pm

OC Version: 3.0.3.7
After installing an account mod, going to account/account I get the following error:

Code: Select all

Fatal error: Uncaught TypeError: Argument 1 passed to Image::resize() must be of the type int, null given, called in /home/alternator/www/www/storage/modification/catalog/model/tool/image.php on line 50 and defined in /home/alternator/www/www/system/library/image.php:143 Stack trace: #0 /home/alternator/www/www/storage/modification/catalog/model/tool/image.php(50): Image->resize(NULL, NULL) #1 /home/alternator/www/www/storage/modification/system/engine/loader.php(251): ModelToolImage->resize('catalog/product...', NULL, NULL) #2 /home/alternator/www/www/system/engine/proxy.php(47): Loader->{closure}(Array, Array) #3 /home/alternator/www/www/catalog/controller/extension/myaccount.php(545): Proxy->__call('resize', Array) #4 /home/alternator/www/www/storage/modification/system/engine/action.php(79): ControllerExtensionMyaccount->index() #5 /home/alternator/www/www/system/engine/router.php(67): Action->execute(Object(Registry)) #6 /home/alternator/www/www/system/engine/router.php(56): Router->execute(Object(Action)) #7 /home/a in /home/alternator/www/www/system/library/image.php on line 143
Anyone have any idea whats causing it?
Last edited by Schwimpi on Fri Jul 23, 2021 4:28 am, edited 2 times in total.

New member

Posts

Joined
Thu Apr 29, 2021 2:19 am

Post by ADD Creative » Sat Jul 03, 2021 11:30 pm

Probably one of your extension modifications. If you have more than one, disable them one by one refreshing each time to work out which one.

www.add-creative.co.uk


Guru Member

Posts

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

Post by straightlight » Sun Jul 04, 2021 2:41 am

Contact the extension developer to resolve this 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

Post by Schwimpi » Fri Jul 09, 2021 11:35 pm

Oddly enough, I created a new user account and the new account doesn't have that issue. Only happens when I use the old account. Guess that fixes the problem!

/Resolved

New member

Posts

Joined
Thu Apr 29, 2021 2:19 am

Post by straightlight » Fri Jul 09, 2021 11:39 pm

Schwimpi wrote:
Fri Jul 09, 2021 11:35 pm
Oddly enough, I created a new user account and the new account doesn't have that issue. Only happens when I use the old account. Guess that fixes the problem!

/Resolved
Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.

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

Post by SergeTkach » Wed Jan 03, 2024 3:05 pm

Such issues may arise when there are no specified thumbnail sizes for images.

Newbie

Posts

Joined
Thu Oct 03, 2019 7:49 pm
Who is online

Users browsing this forum: No registered users and 28 guests