Plugin Code Snippets – This Is Error
-
Hello, I’m contacting you again as I would like the support of the plugin developer!
Because I can not use the plugin.
The plug does not work with any kind of code here.
Already tried with this code here gave error:
woocommerce-cart-form ryviu-widget-total {
min-height: 22px;
}Already tried to reorder address checkout fields with this code and the error:
add_filter (‘wfacp_address_fields_billing’, ‘reorder’);
add_filter (‘wfacp_address_fields_shipping’, ‘reorder’);function reorder ($ fields) {
$ postcode = $ fields [‘postcode’];
$ address_1 = $ fields [‘address_1’];
$ Number = $ fields [‘Number’];
$ Neighborhood = $ fields [‘Neighborhood’];
$ address_2 = $ fields [‘address_2’];
$ city = $ fields [‘city’];
$ state = $ fields [‘state’];
$ country = $ fields [‘country’];unset ($ fields [‘postcode’]);
unset ($ fields [‘address_1’]);
unset ($ fields [‘Number’]);
unset ($ fields [‘Neighborhood’]);
unset ($ fields [‘address_2’]);
unset ($ fields [‘city’]);
unset ($ fields [‘state’]);
unset ($ fields [‘country’]);$ fields [‘postcode’] = $ postcode;
$ fields [‘address_1’] = $ address_1;
$ fields [‘Number’] = $ Number;
$ fields [‘Neighborhood’] = $ Neighborhood;
$ fields [‘address_2’] = $ address_2;
$ fields [‘city’] = $ city;
$ fields [‘state’] = $ state;
$ fields [‘country’] = $ country;return $ fields;
I have tried other similar codes too from the error.
Ie the plugin by clicking button to> save and activate code created.
The plugin always reports same error and does not work.
Error is always this one:
No panic
The code snippet you are trying to save produced a fatal error at line 0:
Exception thrown without a stack frame
The previous version of the code has not changed, and the rest of this site should be working as usual.Please use the back button in your browser to return to the previous page and try to correct the code error.
If you prefer, you can close this page and discard the changes made.
No changes will be made to this site.
I need help … Please!
The topic ‘Plugin Code Snippets – This Is Error’ is closed to new replies.