tstaerk / mediasyntax

Mediasyntax is a plugin for Dokuwiki that enables Mediawiki syntax.
http://www.staerk.de/thorsten/Mediasyntax
GNU General Public License v2.0
10 stars 6 forks source link

“FatalException: Array and string offset access syntax with curly braces is no longer supported” on PHP 8.2 FastCGI #33

Closed AzureCloudMonk closed 1 year ago

AzureCloudMonk commented 1 year ago

Hi Andi,

I finally got a chance to install your fixes, and now get a new error:

“dokuwiki\Exception\FatalException: Array and string offset access syntax with curly braces is no longer supported

An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the mediasyntax plugin.

More info has been written to the DokuWiki error log.”

Here is my DokuWiki error log once I install the latest plugin:

2023-06-29 12:27:30 E_COMPILE_ERROR: Array and string offset access syntax with curly braces is no longer supported /home/USERNAME/devopscloud.io/lib/plugins/mediasyntax/helper.php(376)

0 [internal function]: dokuwiki\ErrorHandler::fatalShutdown()

https://www.devopscloud.io/doku.php?id=dokuwiki

Discussion originally referenced here: https://forum.dokuwiki.org/d/21100-mediasyntax-on-jackrum-php82-attempt-to-assign-property-toplevel-id-on-null

Thanks.

Again, thanks for your help on this.

AzureCloudMonk commented 1 year ago

I opened this as a new issue on GitHub since it is a new error and a new “bug” in the compatibility with PHP 8.2 since this bug error is technically closed.

tstaerk commented 1 year ago

Hi, your patch is developed. You mentioned you were ready to pay for it?

AzureCloudMonk commented 1 year ago

Thank you for your awesome plugin. I sent you a private email via your website Google form https://www.staerk.de/thorsten. Please reply to with your email to PayPal you or other method. Let me know when I can test it. Thanks again. 🙏

tstaerk commented 1 year ago

for me, the issue does not occur any longer.