WPIntell

Source evidence

donot work

AWD Weight/Country Shipping for WooCommerce · support · 2013-12-14T06:54:00+00:00

mixedsentiment
highseverity
0.95relevance
13replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

9 / 39 rows with source links

23.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

30 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
penseelibre resolved
do not work with wp 3.8, before it was perfect for me, now it is down : wrong shipping http://wordpress.org/plugins/awd-weightcountry-shipping/ You need replace every instance of $this->settings[‘opt-name’] with $this->get_option(‘opt-name’) in the shipping-awd.php file. For example, on line 55 you must replace $this->enabled = $this->settings['enabled']; with $this->enabled = $this->get_option('enabled'); Replace every instance and the plugin will work again. ok i will do that and say the result ! … no work : this one not at all shipping ! It works like a charme for me. Are you sure you’ve modified the right lines of code? Hello in textwrangler i have choice in search > Find and replace $this->settings to $this->get_option and no shipping ! yet is it important change [ to ( ?? maybe that i will see Of course it is. “get_option” is a function. you are a nice guy but… now Fatal error: Can’t use method return value in write context in /homez.764/artisanau/www/wp-content/plugins/awd-weightcountry-shipping/shipping-awd.php on line 65 on this lign i get $this->options = isset( $this->get_option(‘options’) ) ? $this->get_option(‘options’) : ”; désolée je vois bien que c’est une imbécilité, mais je ne sais pas la corriger ! in english sorry I see that this is a stupidity, but I do not know the correct! Thank you guy to help me yet ! Here is the final “init” function: function init() { $this->init_form_fields(); $this->init_settings(); $this->enabled = $this->get_option('enabled'); $this->title = $this->get_option('title'); $this->country_group_no = $this->get_option('country_group_no'); $this->sync_countries = $this->get_option('sync_countries'); $this->availability = 'specific'; $this->countries = $this->get_option('countries'); $this->type = 'order'; $this->tax_status = $this->get_option('tax_status'); $this->fee = $this->get_option('fee'); $this->options = (array) explode( "\n", $this->get_option( 'options' ) ); } wouhh (ouahh in french) yeh that work now thank you so much ! and good year to you ! resolve You’re welcome! And happy new year to you too 😉

Comments

13 shown
Dario Corbelli 2013-12-15T12:27:00+00:00

You need replace every instance of $this->settings[‘opt-name’] with $this->get_option(‘opt-name’) in the shipping-awd.php file. For example, on line 55 you must replace $this->enabled = $this->settings['enabled']; with $this->enabled = $this->get_option('enabled'); Replace every instance and the plugin will work again.

penseelibre 2013-12-15T13:26:00+00:00

ok i will do that and say the result !

penseelibre 2013-12-15T13:29:00+00:00

… no work : this one not at all shipping !

Dario Corbelli 2013-12-16T07:43:00+00:00

It works like a charme for me. Are you sure you’ve modified the right lines of code?

penseelibre 2013-12-16T15:40:00+00:00

Hello in textwrangler i have choice in search > Find and replace $this->settings to $this->get_option and no shipping !

penseelibre 2013-12-16T15:43:00+00:00

yet is it important change [ to ( ?? maybe that i will see

Dario Corbelli 2013-12-16T17:05:00+00:00

Of course it is. “get_option” is a function.

penseelibre 2013-12-16T17:34:00+00:00

you are a nice guy but… now Fatal error: Can’t use method return value in write context in /homez.764/artisanau/www/wp-content/plugins/awd-weightcountry-shipping/shipping-awd.php on line 65 on this lign i get $this->options = isset( $this->get_option(‘options’) ) ? $this->get_option(‘options’) : ”;

penseelibre 2013-12-16T17:44:00+00:00

désolée je vois bien que c’est une imbécilité, mais je ne sais pas la corriger ! in english sorry I see that this is a stupidity, but I do not know the correct! Thank you guy to help me yet !

Dario Corbelli 2013-12-16T18:03:00+00:00

Here is the final “init” function: function init() { $this->init_form_fields(); $this->init_settings(); $this->enabled = $this->get_option('enabled'); $this->title = $this->get_option('title'); $this->country_group_no = $this->get_option('country_group_no'); $this->sync_countries = $this->get_option('sync_countries'); $this->availability = 'specific'; $this->countries = $this->get_option('countries'); $this->type = 'order'; $this->tax_status = $this->get_option('tax_status'); $this->fee = $this->get_option('fee'); $this->options = (array) explode( "\n", $this->get_option( 'options' ) ); }

penseelibre 2013-12-16T18:30:00+00:00

wouhh (ouahh in french) yeh that work now thank you so much ! and good year to you !

penseelibre 2013-12-16T18:31:00+00:00

resolve

Dario Corbelli 2013-12-16T18:31:00+00:00

You’re welcome! And happy new year to you too 😉