{"id":5363924,"date":"2014-10-07T03:23:11","date_gmt":"2014-10-07T03:23:11","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/script-error-on-admin-screen\/"},"modified":"2016-08-22T03:12:23","modified_gmt":"2016-08-22T03:12:23","slug":"script-error-on-admin-screen","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/script-error-on-admin-screen\/","title":{"rendered":"Script Error On Admin Screen&#8230;"},"content":{"rendered":"<p>Hi,<br \/>\nI have version 4.01 of your plugin, and it seems to run fine on 4.0 WordPress, though while I&#8217;m in Admin mode there is script error that displays:<\/p>\n<p>Notice: Undefined index: page in \/home\/tystrang\/public_html\/WP_1\/wp-content\/plugins\/wordpress-simple-paypal-shopping-cart\/wp_shopping_cart.php on line 587<\/p>\n<p>Also, if I update the plugin general settings I get these script errors at the top of the page (again, these do not display when viewing the page while not logged in, just in Admin mode):<\/p>\n<p>Notice: Undefined index: wp_shopping_cart_use_profile_shipping in \/home\/tystrang\/public_html\/WP_1\/wp-content\/plugins\/wordpress-simple-paypal-shopping-cart\/wp_shopping_cart_settings.php on line 76<\/p>\n<p>Notice: Undefined index: wp_shopping_cart_auto_redirect_to_checkout_page in \/home\/tystrang\/public_html\/WP_1\/wp-content\/plugins\/wordpress-simple-paypal-shopping-cart\/wp_shopping_cart_settings.php on line 85<\/p>\n<p>Notice: Undefined index: wspsc_open_pp_checkout_in_new_tab in \/home\/tystrang\/public_html\/WP_1\/wp-content\/plugins\/wordpress-simple-paypal-shopping-cart\/wp_shopping_cart_settings.php on line 87<\/p>\n<p>Notice: Undefined index: wp_use_aff_platform in \/home\/tystrang\/public_html\/WP_1\/wp-content\/plugins\/wordpress-simple-paypal-shopping-cart\/wp_shopping_cart_settings.php on line 93<\/p>\n<p>Notice: Undefined index: wp_shopping_cart_enable_sandbox in \/home\/tystrang\/public_html\/WP_1\/wp-content\/plugins\/wordpress-simple-paypal-shopping-cart\/wp_shopping_cart_settings.php on line 95<\/p>\n<p>Notice: Undefined index: wp_shopping_cart_enable_debug in \/home\/tystrang\/public_html\/WP_1\/wp-content\/plugins\/wordpress-simple-paypal-shopping-cart\/wp_shopping_cart_settings.php on line 96<\/p>\n<p>Any thoughts? I have had orders placed through the plugin, so it appears to work. One customer did mention to me tonight that he saw the first script when adding an item to his cart, but upon refresh it disappeared.<\/p>\n<p>Cheers,<br \/>\nTy<\/p>\n<p>https:\/\/wordpress.org\/plugins\/wordpress-simple-paypal-shopping-cart\/<\/p>\n","protected":false},"template":"","class_list":["post-5363924","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5363924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5363924\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5363924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}