-
December 19, 2022, 04:32 PM
#1
Junior Member
Error 500 in BAckand Plugin Couponcode
Hi,
the coupon code plugin not generating a coupon code - There are also no Accounts i could chose - The browser console shows me a 500 Error
Errorlog:
thrown in /www/.../.../.../tmp/aCompile/%%60^60D^60D0CE79%%coupon.tpl.php on line 159
[19-Dec-2022 16:19:41 Europe/Dublin] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /www/../../../tmp/aCompile/%%60^60D^60D0CE79%%coupon.tpl.php:159
Stack trace:
#0 /www/.../.../.../tmp/aCompile/%%60^60D^60D0CE79%%coupon.tpl.php(159): in_array('dealer', NULL)
#1 /www/.../.../.../libs/smarty/Smarty.class.php(1889): include('/www/htdocs/w01...')
#2 /www/.../.../.../includes/classes/rlSmarty.class.php(81): Smarty->_smarty_include(Array)
#3 /www/.../.../.../tmp/aCompile/%%45^45E^45E480CD%%index.tpl.php(377): rlSmarty->_smarty_include(Array)
#4 /www/.../.../.../libs/smarty/Smarty.class.php(1266): include('/www/htdocs/w01...')
#5 /www/.../.../.../includes/classes/rlSmarty.class.php(68): Smarty->fetch('index.tpl', NULL, NULL, true)
#6 /www/.../.../.../libs/smarty/Smarty.class.php(1113): rlSmarty->fetch('index.tpl', NULL, NULL, true)
#7 /www/.../.../.../admin123cars/index.php(285): Smarty->display('index.tpl')
#8 {main}
thrown in /www/.../.../.../tmp/aCompile/%%60^60D^60D0CE79%%coupon.tpl.php on line 159
Thanks for your help
-
December 19, 2022, 05:49 PM
#2
Flynax developer
Hello,
You need to switch to php 7.4 on your server, support of php 8 will be added in the next update
-
December 19, 2022, 07:10 PM
#3
Junior Member
Ok i switched to PHP 7.4 - It