I am having an issue with Toolset and the PDF Embedder plugin (hidden link)
When I edit a page with a front-end CRED form shortcode in it, I get a Critical Error (also when I try and submit a front-end CRED form).
I have narrowed this down to the PDF Embedder plugin and with all plugins deactivated and only the PDF Embedder plugin activated, the error still persists. I have reported this to the developer of the PDF Embedder.
They are investigating but they say, "It looks like the plugin called CRED Frontend Editor (with the slug cred-frontend-editor) is using WordPress filters incorrectly which breaks our plugin."
I will attach the Critical Error information and the debug.log
Thanks.
Hi there,
We will be happy to 9nvestigate. There is no guarantee for compatibility as we do not have any integration with the plugin in question.
I created a clean installation of WordPress and Toolset which you can login here:
hidden link
Please install the plugin in question and try to replicate the issue there and I will report this to the compatibility team.
Also I will appreciate it if you can provide more detailed information on the claim of the plugin developer with more detailed code and stuff so I can report.
Thanks.
Hello
Done!
1. I installed the plugin.
2. I created Form.
3. I embedded the form in new page.
4. I go to edit the page and get a Critical Error:
Try this link: hidden link
Hi there,
Thank you very much. I reported this to the compatibility team.
One thing to note is that the error is generated from the plugin PDF Embedder plugin files.
We will do our best to make a sense of their code but the best way to go forward is to ask them to take a look into the issue.
You can share the same site you replicate dthe issue with them.
Thank you.
Hi there,
I have an answer from the second-tier support.
Edit the file wp-content/plugins/cred-frontend-editor/application/models/form/base.php and change line 363 to add a null argument at the end, i.e.
```
CRED_StaticClass::$_allowed_mime_types = apply_filters( 'upload_mimes', CRED_StaticClass::$_allowed_mime_types, null );
```
A permanent fix should be available in the upcoming Toolset release.
Thanks.
Hi there,
A new version of Toolset Forms is released today which fixes this issue.
I'd appreciate it if you can go to WordPress Dashboard > Plugins > Add New > Commercial (tab)
Click the "Check for updates" button and update Toolset plugins to the latest version.
Make sure you have a backup of the website before doing so.
Thank you.