Undefined Index Error when saving changes in backend

Home Page Forums WooCommerce Custom Tabs Undefined Index Error when saving changes in backend

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

    Posts

  • #769

    Rod

    Participant

    Every time I try and save the settings in this plugin, I’m receiving an “Undefined Index Error”. Exiting the page and going back to the dashboard homepage seems to make the changes stick, but it’s a bit annoying to receive this error message every time I try and change anything. Is there any fixes for this?

    Attachments:

    You must be logged in to view attached files.

    #774

    WebshopLogic

    Keymaster

    Hi,

    Thank you for let us know this problem. We will look at it and fix the problem.

    Peter Rath
    WebshopLogic

    #776

    WebshopLogic

    Keymaster

    Hi Rod,

    We have fixed this problem, the fix will be available in the next release.
    Until then, you can delete the following lines from wct-admin-page.php file, from sanitize function:

    		if( !is_numeric( $input['id_number'] ) )
    			$input['id_number'] = '';  
    	
    		if( !empty( $input['title'] ) )
    			$input['title'] = sanitize_text_field( $input['title'] );

    Peter

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.