Skip Navigation

[Resolved] Plugin conflict with PDF Embedder and CRED Frontend Editor

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.

This topic contains 5 replies, has 2 voices.

Last updated by Christopher Amirian 4 months, 2 weeks ago.

Assisted by: Christopher Amirian.

Author
Posts
#2703900
Edit Page Text.png
debug log.png

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.

#2703954

Christopher Amirian
Supporter

Languages: English (English )

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.

#2703955

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

#2704623

Christopher Amirian
Supporter

Languages: English (English )

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.

#2706524

Christopher Amirian
Supporter

Languages: English (English )

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.

#2707045

Christopher Amirian
Supporter

Languages: English (English )

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.

#2707050

Thank you very much.