Resolved

Reported for: WPML Multilingual CMS 3.5.3.1

Resolved in: WPML Multilingual CMS 3.6.0

Symptoms

The issue happens when you submit a form in the front-end and this form adds a new post.

In some circumstance, you may see the error below:

Uncaught Error: Call to a member function add_notice() on null 
in wp-content/plugins/sitepress-multilingual-cms/inc/wpml-private-actions.php:33

Workaround

This issue will be resolved in the 3.6.0 release.

Meanwhile, you can download the CMS Beta Package 3.5.3.2-b.1, which will contain only this fix.

2 Responses to ““Uncaught Error: Call to a member function add_notice()” when adding posts from front-end”

  1. I had a lot of problems with ( my first bug) on Woocommerce. Thanks for the package. Lost sales though.

    Any idea how to avoid this in the future?

    • Hello,

      The way to avoid it is by our side, through increasing testing coverage. We are doing this now, sorry for this inconvenience.