• Dears,
    i am not anymore able to save changes in the printful plugin in woocommerce. Under the tab “settings” you can set the “size guide” name, colors, etc.. In case i push the “Save change” button nothing is working. I get an “500 error.” –> “Failed to load resource: the server responded with a status of 500 ()”

    The code looks as follow:

    2023-11-27T16:55:21+00:00 CRITICAL Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /home/.sites/358/site8537238/web/wp-content/plugins/printful-shipping-for-woocommerce/includes/class-printful-admin-settings.php:304

    Stack trace:

    #0 /home/.sites/358/site8537238/web/wp-content/plugins/printful-shipping-for-woocommerce/includes/class-printful-admin-settings.php(304): in_array(‘STANDARD’, NULL)

    #1 /home/.sites/358/site8537238/web/wp-content/plugins/printful-shipping-for-woocommerce/includes/class-printful-admin-settings.php(340): Printful_Admin_Settings->prepare_carriers()

    #2 /home/.sites/358/site8537238/web/wp-includes/class-wp-hook.php(324): Printful_Admin_Settings::save_printful_settings(”)

    #3 /home/.sites/358/site8537238/web/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)

    #4 /home/.sites/358/site8537238/web/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #5 /home/.sites/358/site8537238/web/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_save_pr…’)

    #6 {main}

    ? thrown in /home/.sites/358/site8537238/web/wp-content/plugins/printful-shipping-for-woocommerce/includes/class-printful-admin-settings.php in Zeile 304

    Does someone can help with a solution?

    Regards

    Florian

    The page I need help with: [log in to see the link]

  • The topic ‘Problem with Save change button’ is closed to new replies.