Skip Navigation

[Resolved] Uncaught error with edit post link

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

Problem:
Uncaught error with edit post link

Solution:
This issue is fixed with Types version 3.2.1.

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by alvinc 6 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1155984

I am trying to: Edit listing.

Link to a page where the issue can be seen: Uncaught Error: Call to undefined function get_current_screen() in /home/domagent/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/utility/condition/post_type/editor/is_block.php:67 Stack trace: #0 /home/domagent/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/utility/condition/post_type/editor/is_block.php(32): Toolset_Condition_Post_Type_Editor_Is_Block->get_post_type_by_current_screen() #1 /home/domagent/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/classes/class.conditional.php(157): Toolset_Condition_Post_Type_Editor_Is_Block->is_met() #2 /home/domagent/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/classes/class.conditional.php(121): WPToolset_Forms_Conditional->get_block_editor_form_selectors() #3 /home/domagent/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/classes/class.conditional.php(76) in /home/domagent/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/utility/condition/post_type/editor/is_block.php on line 67

I expected to see: It was not there yesterday before the updates.

Instead, I got:

#1156012

I don't have Jetpack installed.

#1156196

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - this issue is known to us and already reported in front of our Devs.

We are going to release hotfix version for this issue as soon as possible. I'll get in touch with you as soon as it will be published.

#1156229

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - we just published the hotfix version 3.2.1 of Types plugin that should help you to resolve the issue you reported.

Could you please update Types plugin to this version and try to resolve your issue.
=> https://toolset.com/account/downloads/

#1158491

My issue is resolved now. Thank you!