Okay
  Public Ticket #2101458
Error when saving in backend
Closed

Comments

  • Mat Murray started the conversation

    Hey,

    When I go to save any changes in the 'Theme Options'' dashboard, I get this error:

    "Fatal error: Uncaught ArgumentCountError: Too few arguments to function _doing_it_wrong(), 2 passed in /homepages/27/d768150026/htdocs/clickandbuilds/TheComputerGameShow/wp-content/plugins/woocommerce-admin/includes/page-controller/class-wc-admin-page-controller.php on line 193 and exactly 3 expected in /homepages/27/d768150026/htdocs/clickandbuilds/TheComputerGameShow/wp-includes/functions.php:4735 Stack trace: #0 /homepages/27/d768150026/htdocs/clickandbuilds/TheComputerGameShow/wp-content/plugins/woocommerce-admin/includes/page-controller/class-wc-admin-page-controller.php(193): _doing_it_wrong('get_current_pag...', 'Current page re...') #1 /homepages/27/d768150026/htdocs/clickandbuilds/TheComputerGameShow/wp-content/plugins/woocommerce-admin/includes/page-controller/class-wc-admin-page-controller.php(368): WC_Admin_Page_Controller->get_current_page() #2 /homepages/27/d768150026/htdocs/clickandbuilds/TheComputerGameShow/wp-content/plugins/woocommerce-admin/includes/page-controller/page-controller-functions.php(49): WC_ in /homepages/27/d768150026/htdocs/clickandbuilds/TheComputerGameShow/wp-includes/functions.php on line 4735

    The site is experiencing technical difficulties. Please check your site admin email inbox for instructions."


    Generally the changes do save, but I have to go back in the browser to reload the dashboard to make further changes after seeing the error.

    Any idea how to fix it?

  •  647
    Alexandre replied

    Hi, 
    Yes, this will be fix in the next theme update. I know, this is annoying. Until then, you can activate the sonaar child-theme. This will fix the issue.

    Thanks,


    Alexandre from the Sonaar.io Crew

  • Mat Murray replied

    Thanks!