Navigation überspringen

[Gelöst] Updating to PHP 8.2 Bricks Toolset Settings & Blocks Editor for Cont. Templates

This support ticket is created vor 1 Jahr, 2 Monaten. 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)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 1 Jahr, 2 Monaten.

Assistiert von: Minesh.

Author
Artikel
#2651927

I'm trying to update our sites to PHP 8.2, and I found a conflict with Toolset that results in a fatal error when trying to access Toolset Settings and the Blocks Editor in Content Templates. We've discovered that it's conflicting with a plugin we wrote called Extra File Types that doesn't exist in PHP 7.4.

We've reviewed our code, and it doesn't appear that anything we wrote is inherently incompatible with PHP 8.2, and the fatal errors only appear to affect Toolset related components, nothing else, as our plugin's functionality is completely operational in the latest version of PHP.

The plugin in question, is also very simple, as all it's doing is allowing us to upload files, such as SVG, that aren't normally permitted by WordPress by identifying the MIME types and pass them through an array. When wrote in compatibility fixes for PHP 7.0 and up when we had to make that transition, too.

Any help in this matter would be greatly appreciated. Thanks in advance!

Note: you'll need to connect to port 2222 in order to connect to our sFTP file server with the credentials provided.

#2652601

Minesh
Supporter

Sprachen: Englisch (English )

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

Hello. Thank you for contacting the Toolset support.

I've downloaded your package. Please allow me to test this with multiple PHP version.

Please hold on for further update.

#2652607

Thank you. We actually found what was causing the issue, though, just don't understand why it was specifically conflicting with Toolset. Either way, it came down to how we were calling our MIME types. A simple modification to the MIME type array and everything appears to be functioning as it should.

Thank you for your time either way.