I had to change line 359 to the following:
`} else if( $_rule[“logic”] == “not-null” ){
$trimVal = trim($_value);
if( !empty( $trimVal) ) {
return true;
}`
Hope this helps.
Thank for you attempt, now i get
Parse error: syntax error, unexpected ‘?>’, expecting function (T_FUNCTION) in /home/stabocou/public_html/wp-content/plugins/wc-fields-factory/includes/wcff-negotiator.php on line 458
Sorry my bad, had missed a bit of the code, you sir are a gentleman!! That sorted it thank you
THis topic is resolve but again this error is showing for me …
latest version i install.
Fatal error: Can’t use function return value in write context in /home/designau/public_html/–themename–/wp-content/plugins/wc-fields-factory/includes/wcff-negotiator.php on line 359
After line 359 which is:
$trimVal = trim($_value);
Add the following:
if( !empty( $trimVal) ) {
return true;
}
Thanks its work now . but please update the plugin. thanks
Hi, I’m getting:
Fatal error: Can’t use method return value in write context in /var/www/vhosts/xxxsitename/httpdocs/wp-content/plugins/sg-cachepress/core/Admin/Admin.php on line 28
Any suggestions?
Thanks
Would really appreciate some help with a similar issue, regarding this message:
Fatal error: Can’t use method return value in write context in /home4/jamisawdust/public_html/wp-content/plugins/woocommerce-product-addons/includes/admin/class-wc-product-addons-admin.php on line 526
many thanks ahead
@invisiblehamsandwich
Sounds like you need to upgrade your php to 5.6 or greater.