Skip Navigation

[Resolved] errors on front after software updates

This support ticket is created 5 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 5 replies, has 2 voices.

Last updated by Tiit Sau 5 years, 1 month ago.

Assisted by: Beda.

Author
Posts
#1203688

Woocommerce views created ~2 years ago.
Now i managed to upgrade WordPress, Woocommerce, Toolset - all the package.
In result i see 2 kind of errors on frontend:
1. Notice: Undefined index: meta_key in /www/apache/domains/www.baas.infinit.ee/htdocs/baltichouse/wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/classes/class.types.php on line 430
2. Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('tem ...

Development copy:
hidden link
user: go
pass: go

Enfold Child theme in use, but Storefront returns same errors.
Any Toolset syntax changes or other instructions?

#1203718

I think you use conditionals on Types Fields, especially, Custom Conditions?

I think this should be a replicable bug but I could not figure out what syntax or condition breaks it.
Can I have access to the site there so I can see what exactly has been used to replicate this and report it?

Thanks

#1203850

Thanks for hint!
Will fix all conditional and let you know if all good.

#1203891

One more error left.
Can you tell me, what's wrong with YIT Compare shortcode?
It works, but with debugger message: "id was called incorrectly. Product properties should not be accessed directly"

<div class="prod-buttons">
  	<div class="prod-price">[wpv-woo-product-price]</div>
    [yith_compare_button]
	<div class="prod-add-to-cart">[wpv-woo-buy-options add_to_cart_text="Add to cart"]</div>
</div>

Shortcode is registered, but YITH WooCommerce Compare Premium plugin not the latest.

#1204367

That is not a Toolset ShortCode.
You should contact YITH to consult this.

Can I ask what the source of the other errors was?
Is it something you think we should fix within Toolset or was it a syntax issue on the custom conditional?

When I try to log in it says
"VIGA: Vigane kasutajanimi. Parool kadunud?"
Seems both Username and Password already are deleted?

#1204406

Like you thought, was all about conditionals.
All fixed and everything works just fine.
Fresh copy from live site, that's why login was gone.

Thanks

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.