Support » Plugin: Pricing Table » [Bug]: Saving Pricing Tables while WP_DEBUG is true throws PHP Notices

  • Either provide default values for those indexes or throw an error suppression symbol in front of the statements that utilize them please.

    @$array['alt_feature'];
    
    Notice: Undefined index: alt_feature in /wp-content/plugins/pricing-table/modules/metabox.php on line 38
    
    Notice: Undefined index: alt_price in /wp-content/plugins/pricing-table/modules/metabox.php on line 39
    
    Notice: Undefined index: alt_detail in /wp-content/plugins/pricing-table/modules/metabox.php on line 40
    
    Notice: Undefined index: __wppt_returnurl in /wp-content/plugins/pricing-table/modules/metabox.php on line 42
    
    Notice: Undefined index: __wppt_cancelurl in /wp-content/plugins/pricing-table/modules/metabox.php on line 43
    
    Notice: Undefined index: __wppt_currency_code in /wp-content/plugins/pricing-table/modules/metabox.php on line 44
    
    Notice: Undefined index: __wppt_business in /wp-content/plugins/pricing-table/modules/metabox.php on line 45
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/pricing-table/modules/metabox.php:38) in /wp-includes/pluggable.php on line 1171

    https://wordpress.org/plugins/pricing-table/

  • The topic ‘[Bug]: Saving Pricing Tables while WP_DEBUG is true throws PHP Notices’ is closed to new replies.