Hi, I am using ToolSet on site gradskovijece.sarajevo.ba, and when I am doing update on some post I am getting this message.
I have try to remove all tables with icl_ prefix but that didn't help. Should I remove all tables with wpml_ prefix too?
Regards
Damir
Fatal error: Uncaught Error: Call to a member function get_language_for_element() on null
in /home/srajevoba/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/wpml.php on line 562
You should not delete the database tables, of either WPML or Toolset.
You may need to deactivate and reactivate WPML for it to recreate the missing tables, though they will be empty and you will have lost any existing translations. If you need to recover the translations, you would need to restore a backup taken before you deleted the tables.
As for the error you report, it is not known to us.
We may need a copy of your site to be able to examine the problem further to understand where the error is coming from.
Before going any further, can you please be sure to update both Toolset and WPML plugins to the latest versions.
Then, disable all plugins except for WPML and Toolset, and see if the error still occurs (we need to eliminate any possible conflicts with other plugins). Likewise, try testing again after changing theme to a standard theme such as twentytwentyone.