Skip Navigation

[Resolved] The car upload form used to work fine – now I am getting an error

This support ticket is created 6 years, 3 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 8 replies, has 2 voices.

Last updated by Luo Yang 6 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1155548

Hi

The car upload form used to work fine - now I am getting an error when tryng to place an advert - Yet no code has been changed? Upload page here: hidden link

cheers
Paul

[29-Nov-2018 15:13:53 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /home/mpex/tiltrak.com/public/webdev/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/utility/condition/post_type/editor/is_block.php:67
Stack trace:
#0 /home/mpex/tiltrak.com/public/webdev/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/mpex/tiltrak.com/public/webdev/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/mpex/tiltrak.com/public/webdev/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/mpex/tiltrak.com/public/webdev/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-comm in /home/mpex/tiltrak.com/public/webdev/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/utility/condition/post_type/editor/is_block.php on line 67

#1155641

I have just noticed that even though the advert upload fails the image saves into wordpress image folder (i now have the same pic 6 times in the media section)

#1155969

Hello,

The problem you mentioned above is abnormal, please try these:

1) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017, and test again

2) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1156204

Here is the hot fix:
https://toolset.com/errata/validated-fields-in-forms-are-breaking-form-submit-with-fatal-error/

Please test it, and feedback if the problem is fixed, thanks

#1156210

Removed all required fields changed to optional - Still does not work? Please can we look into this asap its now a priority, we've wasted pretty much all yesterday trying to fix and this all worked fine when we installed and tested 14th nov - then started work again on site yesterday morning does not work?

#1156233

Here is the feedback from our developers:
This is caused by Toolse fields, some of which have default validation rules, so no need to check for specific field types.

Types 3.2.1 released with a fix for problem, you can download it here:
https://toolset.com/account/downloads/
please test it again, thanks

#1156242

HI Luo
I've just updated the plugin the form upload advert system is now working however I am still experiencing these poor URLS for the listing -m hidden link
How can I fix this issue

/////////

Also the email 'contact seller' is still not working? - No messages are received yet they are stored in the admin area via a cred file with lots of numbers as per above but cannot be read

/////////
Also please can you advise on info below

Last question I noticed when creating a temp classified site
hidden link

My Ads List hidden link
My Messages: hidden link
My Account Settings: hidden link

A) With regards to the above classified website how can we add these pages - Also with our public front web pages allowing advert upload is it possible to have a register login/password details for 1st time users to create an account?

B) Or what happens if they try to place another advert using the same email address as per before - are they prompted to login - will the advert info they have added be lost from the advert upload web page?

C) Finally with the ‘My Account Settings’ page is this the same page as per WooCommerce uses?

D) How can we add the My Ads and My Messages page to the Tiltrak website and then connect these into the My Account Settings Page so they can be accessed once logged in.

cheers
Paul

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/email-contact-seller-is-still-not-working/

#1156420

Hi Luo have you had a chance to look at the email problem with messages not sending? cheers Paul

Also did you see my additional questions about login area

#1157508

Q) I am still experiencing these poor URLS for the listing

The URL "cred-auto-draft-5dbbabc68bcbe57e20be04951c0bbdb6-2" is generate by Toolset form when there isn't post title inputs.

I assume we are talking about a post form for creating post, how do you setup the form?
did you setup the "post title" field in your Toolset post form?

If you didn't, then Toolset form will generate the post title/name automatically, it will conducts the problem you mentioned above.
I suggest you setup the post title field in your post form, and test again.

For your other new questions, please check the new thread here:
https://toolset.com/forums/topic/email-contact-seller-is-still-not-working/

Thanks