error on applying template


  • Default avatar
    jeroenb    
     4 years ago
    0

    When applying a template (even a default one when no changes made) I get an error report:
    A PHP Exception occurred on your site. Here you can find the stack trace:

    Exception Type: JDatabaseExceptionExecuting

    File: /home/baroennl/domains/baroen.nl/public_html/libraries/joomla/database/driver/mysqli.php

    Line: 665

    Message: Unknown column 'cc_purchaser' in 'field list'

    #0 /home/baroennl/domains/baroen.nl/public_html/libraries/joomla/database/database.php(33): JDatabaseDriverMysqli->execute()

    #1 /home/baroennl/domains/baroen.nl/public_html/administrator/components/com_awocoupon/helper/class-awocoupon-helper-database.php(61): JDatabase->query()

    #2 /home/baroennl/domains/baroen.nl/public_html/administrator/components/com_awocoupon/helper/class-awocoupon-helper-database.php(163): AwoCoupon_Helper_Database->query('UPDATE #__awoco...')

    #3 /home/baroennl/domains/baroen.nl/public_html/administrator/components/com_awocoupon/awocoupon/admin/class/class-awocoupon-admin-class-profile.php(581): AwoCoupon_Helper_Database->save_table_instance('#__awocoupon_pr...', Object(stdClass))

    #4 /home/baroennl/domains/baroen.nl/public_html/administrator/components/com_awocoupon/awocoupon/admin/controller/class-awocoupon-admin-controller-profile.php(139): AwoCoupon_Admin_Class_Profile->save(Array)

    #5 /home/baroennl/domains/baroen.nl/public_html/administrator/components/com_awocoupon/awocoupon/library/class-awocoupon-library-helper.php(303): AwoCoupon_Admin_Controller_Profile->do_apply()

    #6 /home/baroennl/domains/baroen.nl/public_html/administrator/components/com_awocoupon/awocoupon.php(96): AwoCoupon_Library_Helper->route(Array)

    #7 /home/baroennl/domains/baroen.nl/public_html/administrator/components/com_awocoupon/awocoupon.php(40): awocoupon_admin_view->_display_ajax()

    #8 /home/baroennl/domains/baroen.nl/public_html/administrator/components/com_awocoupon/awocoupon.php(13): awocoupon_admin_view->display_content()

    #9 /home/baroennl/domains/baroen.nl/public_html/libraries/src/Component/ComponentHelper.php(402): require_once('/home/baroennl/...')

    #10 /home/baroennl/domains/baroen.nl/public_html/libraries/src/Component/ComponentHelper.php(377): Joomla\CMS\Component\ComponentHelper::executeComponent('/home/baroennl/...')

    #11 /home/baroennl/domains/baroen.nl/public_html/libraries/src/Application/AdministratorApplication.php(101): Joomla\CMS\Component\ComponentHelper::renderComponent('com_awocoupon')

    #12 /home/baroennl/domains/baroen.nl/public_html/libraries/src/Application/AdministratorApplication.php(159): Joomla\CMS\Application\AdministratorApplication->dispatch()

    #13 /home/baroennl/domains/baroen.nl/public_html/libraries/src/Application/CMSApplication.php(196): Joomla\CMS\Application\AdministratorApplication->doExecute()

    #14 /home/baroennl/domains/baroen.nl/public_html/administrator/index.php(51): Joomla\CMS\Application\CMSApplication->execute()

    #15 {main}


    What can I do about this?
  • Your avatar
    seyi    
     4 years ago
    0

    Hello,

    Did you recently update AwoCoupon?  If so from what version?

    Looks like something went wrong, and it would have to be manually updated.
  • Your avatar
    seyi    
     4 years ago
    0

    This issue should be fixed now, added the column cc_purchaser to the #__awocoupon_profile table.