Hello guys, I had created a "Custom Payment Methods" under Thirtybees 1.5.1 and after upgrading to TB 1.6.0, I can no longer access the "Custom Payment Methods" module using "Modules and Services/Custom Payment Methods" in the Backoffice, instead I am getting a "500 Server Error" page.
However, this Custom Payment Methods is still available in the payment options for my customers.
This is the error I get from the error logs:
Exception
Message:
Fatal Error: Declaration of AdminCustomPaymentsController::uploadImage($id, $name, $dir, $ext = false, $width = null, $height = null) must be compatible with AdminControllerCore::uploadImage($id, $name, $path, $imageExtension = false, $width = null, $height = null, $generateImageTypes = [])
Location:
modules/custompayments/controllers/admin/AdminCustomPayments.php line 429
Here is the line 429 in the AdminCustomPayments.php file.
Question
papagino
Hello guys, I had created a "Custom Payment Methods" under Thirtybees 1.5.1 and after upgrading to TB 1.6.0, I can no longer access the "Custom Payment Methods" module using "Modules and Services/Custom Payment Methods" in the Backoffice, instead I am getting a "500 Server Error" page.
However, this Custom Payment Methods is still available in the payment options for my customers.
This is the error I get from the error logs:
Exception Message: Fatal Error: Declaration of AdminCustomPaymentsController::uploadImage($id, $name, $dir, $ext = false, $width = null, $height = null) must be compatible with AdminControllerCore::uploadImage($id, $name, $path, $imageExtension = false, $width = null, $height = null, $generateImageTypes = []) Location: modules/custompayments/controllers/admin/AdminCustomPayments.php line 429
Here is the line 429 in the
AdminCustomPayments.php file.
protected function uploadImage($id, $name, $dir, $ext = false, $width = null, $height = null)
I did changed my images format from jpg to webp after the upgrade, but I don't think this is the cause.
Any ideas what could cause this?
8 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now