• Resolved Amanda Goodrick

    (@amandalala123)


    Since upgrading to 6.0.5, we are experiencing some issues on the front end without the 6.0 compatibility option enabled. The modal buttons are missing text and are instead just empty. I have switched to the 2023 theme for testing and the issues persist.

    • Theme: 2023
    WordPress Environment
    
    WC Version: 7.7.2
    REST API Version: ? 7.7.2
    WC Blocks Version: ? 10.0.6
    Action Scheduler Version: ? 3.5.4
    Log Directory Writable: ?
    WP Version: 6.2.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    Server Environment
    
    Server Info: Apache/2.4.54 (Unix) PHP/8.0.26
    PHP Version: 8.0.26
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.86.0
    (SecureTransport) OpenSSL/1.1.1s
    
    
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_message" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 75
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_prompt" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 76
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_to_order" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 77
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_message" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 75
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_prompt" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 76
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_to_order" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 77
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "cancel" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 79
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_message" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 75
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_prompt" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 76
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_to_order" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 77
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "wrap_details" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 79
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_message" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 75
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_prompt" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 76
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_to_order" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 77
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_message" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 75
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_prompt" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 76
    [13-Jun-2023 00:06:02 UTC] PHP Warning:  Undefined array key "add_wrap_to_order" in wordpress/wp-content/plugins/woocommerce-gift-wrapper/includes/class-wcgwp-strings.php on line 77
Viewing 4 replies - 1 through 4 (of 4 total)
  • I second this. It seems that Version 6.0.5 is causing errors and causing buttons to have missing text. However, downgrading to Version 6.0.4 resolves the problem.

    Anonymous User 20287723

    (@anonymized-20287723)

    Hello @amandalala123 @kosvrouvas Thank you for the helpful and friendly topic submission. I released v6.0.6 this morning which hopefully addresses the issue you’re seeing. ??

    Thread Starter Amanda Goodrick

    (@amandalala123)

    That seems to have fixed it, thanks for getting to it so quickly!

    I’m trying to set up the plugin for my site but can’t get the buttons to work. They display no text and it doesn’t seem to be a css issue, because the source code shows no text either. My site has a different language, but I also tried adding a translation to Cancel using Loco translate, but no change. Also, if I don’t change the prompt text using the hooks, no “Add gift wrap?” text is displayed either. Is there a filter hook for the button text?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Undefined Errors, Buttons missing text’ is closed to new replies.