Skip Navigation

[Resolved] Fatal error after guest submit form

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

Problem:

In a page with Toolset form, get PHP error message:

Fatal error: Uncaught Error: Call to a member function get_component() on null in ***wp-content/plugins/elementor/modules/page-templates/module.php:345 

Solution:

The client fix it by restoring the previous version Elementor plugin.

Relevant Documentation:

This support ticket is created 6 years, 2 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)

This topic contains 4 replies, has 2 voices.

Last updated by yulyaB 6 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1147017
Screenshot_2.png

I am trying to: guest submit form

Link to a page where the issue can be seen: hidden link

I expected to see: submit form

Instead, I got: fatal error

#1147036

Hello,

Thanks for the details, I can see the error message in the URL you mentioned above.
As you can see the fatal errors are outputted from "elementor" plugin:

Fatal error: Uncaught Error: Call to a member function get_component() on null in ***wp-content/plugins/elementor/modules/page-templates/module.php:345 

Please try these:
1) In case it is a compatibility problem, please deactivate other plugins(Except Toolset plugins), and switch to wordpress default theme 2017, and test again
2) If it is fixed, you can activate other plugins one by one, try to locate the problem plugin/theme.

#1147037

In other site the same problem with elementor after last update. When Elementor disable, all work. But I need elementor to work.

#1147055

So it is a conflict problem with Elementor plugin, can you try with a fresh wordpress installation + the latest version of Elementor plugin + Toolset plugins, try to duplicate the same problem.

Then provide detail steps to produce the problem, then we can report to our developers, otherwise it will be considered as an exception

And the PHP errors are from Elementor plugin, you can also check it with Elementor support:
hidden link

#1147099

I temporarily restored the previous version Elementor.
My issue is resolved now. Thank you!