+ Reply to Thread
Results 1 to 3 of 3

Thread: Error 500 in BAckand Plugin Couponcode

  1. #1
    Junior Member
    Join Date
    Dec 2022
    Posts
    21

    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

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,174
    Hello,

    You need to switch to php 7.4 on your server, support of php 8 will be added in the next update

  3. #3
    Junior Member
    Join Date
    Dec 2022
    Posts
    21
    Ok i switched to PHP 7.4 - It

+ Reply to Thread