{"id":5624045,"date":"2014-12-31T06:40:23","date_gmt":"2014-12-31T06:40:23","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/error-report-6\/"},"modified":"2016-08-22T13:58:44","modified_gmt":"2016-08-22T13:58:44","slug":"error-report-6","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/error-report-6\/","title":{"rendered":"Error report"},"content":{"rendered":"<p>Seeing errors upon activation with WP_DEBUG true:<\/p>\n<p><code><\/code><code>Strict Standards: Non-static method EDD_Dependencies::edd_active_check() should not be called statically in \/wp-content\/plugins\/edd-discounts-by-location\/edd_discounts_by_location.php on line 13<\/code><code><\/code><\/p>\n<p><code><\/code><code>Strict Standards: Non-static method EDD_Dependencies::init() should not be called statically in \/wp-content\/plugins\/edd-discounts-by-location\/includes\/class-dc-dependencies.php on line 16<\/code><code><\/code><\/p>\n<p>I&#8217;m also seeing an issue adding items to the cart, as the ajax add to cart works, but the button never refreshes to say &#8220;checkout&#8221; and I have to refresh the page manually.<\/p>\n<p>This also throws an error at checkout if a payment method is used that doesn&#8217;t have a billing address set on the checkout page:<\/p>\n<p><code><\/code><code>Notice: Undefined index: billing_country in \/wp-content\/plugins\/edd-discounts-by-location\/classes\/class-dc-edd-discounts-by-location-validate.php on line 10<\/code><code><\/code><\/p>\n<p>Testing on local install with only EDD 2.2.2 active and WP 4.1.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/edd-discounts-by-location\/<\/p>\n","protected":false},"template":"","class_list":["post-5624045","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5624045","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\/5624045\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5624045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}