Skip Navigation

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

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.

Our next available supporter will start replying to tickets in about 0.57 hours from now. Thank you for your understanding.

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 1 reply, has 2 voices.

Last updated by Minesh 1 year, 1 month ago.

Assisted by: Minesh.

Author
Posts
#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

Languages: English (English )

Timezone: 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.