Skip Navigation

[Resolved] Fatal error – Types vs WPML

This thread is resolved. Here is a description of the problem and solution.

Problem:

I have fatal error when Types 3.0-RC (Beta) and Wpml 3.9.4 is activated at same time. Types working without wpml. Wpml working without Types.

Fatal error: Uncaught Error: Call to undefined function WP_Installer() in /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/loader.php:131 Stack trace: #0

Solution:

It is fixed in latest version of Types beta plugin, you can download it here:

https://toolset.com/account/downloads/

Choose channel: Beta

Relevant Documentation:

This support ticket is created 6 years, 8 months 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by laszloB 6 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#790604

I have fatal error when Types 3.0-RC (Beta) and Wpml 3.9.4 is activated at same time. Types working without wpml. Wpml working without Types.

Fatal error: Uncaught Error: Call to undefined function WP_Installer() in /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/loader.php:131 Stack trace: #0 /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-includes/class-wp-hook.php(286): wpml_installer_instance_delegator('') #1 /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #2 /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-settings.php(434): do_action('after_setup_the...') #4 /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-config.php(85): require_once('/home/eqrdef/ww...') #5 /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-load.php(37): require_once('/home/eqrdef/ww...') #6 /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-admin/admin.php(31): require_once('/home/eqrdef/ww...') #7 /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-admin/plugins.php(10): require_once('/home/e in /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/loader.php on line 131

#801130

Hello,

Thanks for the details, I have been able to duplicate the same problem, and escalated this thread to our 2nd tier supporters, will update this thread if there is anything news.

#807847

Here is the feedback from 2nd tier supporters:
It is fixed in next version of Types beta plugin, which will be released soon, I suggest you subscribe to our blog to get the updated news:
https://toolset.com/blog/

#870397

Another error when I use "post reference" field:

Fatal error: Uncaught TypeError: Argument 1 passed to WPML_Display_As_Translated_Posts_Query::__construct() must be an instance of wpdb, instance of Toolset_Association_Query_Wpdb_Wrapper given, called in /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/wpml-query-filter.class.php on line 328 and defined in /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-display-as-translated-posts-query.php:14 Stack trace: #0 /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/wpml-query-filter.class.php(328): WPML_Display_As_Translated_Posts_Query->__construct(Object(Toolset_Association_Query_Wpdb_Wrapper)) #1 /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/wpml-query-filter.class.php(316): WPML_Query_Filter->display_as_translated_snippet('hu', 'hu') #2 /home/eqrdef/wwwroot/astro in /home/eqrdef/wwwroot/astro/cinefest.hu_wp/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-display-as-translated-posts-query.php on line 14

#900877

For the new question:
Another error when I use "post reference" field ...

I can see you have already put it into WPML forum:
https://wpml.org/forums/topic/fatal-error-types-vs-wpml/

Please follow that ticket, and WPML supporters is already in it.

Is the original question of this thread resolved? Please let me know if you still need assistance.
https://toolset.com/forums/topic/fatal-error-types-vs-wpml/#post-790604

#900913

Solved