From reiner at buehl.net Thu Aug 7 11:21:31 2025 From: reiner at buehl.net (Reiner Buehl) Date: Thu, 7 Aug 2025 20:21:31 +0200 Subject: [pmwiki-users] Problems with AttachDelete Cookbook after upgrade to PHP 8.2 Message-ID: <4993789c-0b4e-430d-af5f-2a40c6252d42@buehl.net> Hi all, after upgrading to PHP 8.2, I get the following error from the latest available version of the AttachDelete cookbook (0.08 - KK): PHP Fatal error:? Array and string offset access syntax with curly braces is no longer supported in /var/www/pmwiki-2.4.6/cookbook/attachdel.php on line 121 Is there a way to fix this? Best regards, Reiner From 5ko at 5ko.fr Thu Aug 7 11:31:07 2025 From: 5ko at 5ko.fr (Petko Yotov) Date: Thu, 07 Aug 2025 20:31:07 +0200 Subject: [pmwiki-users] Problems with AttachDelete Cookbook after upgrade to PHP 8.2 In-Reply-To: <4993789c-0b4e-430d-af5f-2a40c6252d42@buehl.net> References: <4993789c-0b4e-430d-af5f-2a40c6252d42@buehl.net> Message-ID: On 07/08/2025 20:21, Reiner Buehl wrote: > after upgrading to PHP 8.2, I get the following error from the latest > available version of the AttachDelete cookbook (0.08 - KK): > > PHP Fatal error:? Array and string offset access syntax with curly > braces is no longer supported in > /var/www/pmwiki-2.4.6/cookbook/attachdel.php on line 121 > > Is there a way to fix this? Yes, replace curly braces with square brackets in expressions indicating a numbered character in a string: $file{0} with $file[0] Petko From editor at fast.st Fri Aug 8 12:20:48 2025 From: editor at fast.st (Dan Vis) Date: Fri, 8 Aug 2025 15:20:48 -0400 Subject: [pmwiki-users] HELP In-Reply-To: References: Message-ID: Please unsubscribe me. I tried following the instructions, but I'm still getting these... Blessings Dan *Climb higher in your walk with God...* *WWW.FASTMISSIONS.COM * On Thu, Aug 7, 2025 at 3:00?PM wrote: > Send pmwiki-users mailing list submissions to > pmwiki-users at pmichaud.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > or, via email, send a message with subject or body 'help' to > pmwiki-users-request at pmichaud.com > > You can reach the person managing the list at > pmwiki-users-owner at pmichaud.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pmwiki-users digest..." > > > Today's Topics: > > 1. Problems with AttachDelete Cookbook after upgrade to PHP 8.2 > (Reiner Buehl) > 2. Re: Problems with AttachDelete Cookbook after upgrade to PHP > 8.2 (Petko Yotov) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 7 Aug 2025 20:21:31 +0200 > From: Reiner Buehl > To: Pmwiki Users > Subject: [pmwiki-users] Problems with AttachDelete Cookbook after > upgrade to PHP 8.2 > Message-ID: <4993789c-0b4e-430d-af5f-2a40c6252d42 at buehl.net> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hi all, > > after upgrading to PHP 8.2, I get the following error from the latest > available version of the AttachDelete cookbook (0.08 - KK): > > PHP Fatal error:? Array and string offset access syntax with curly > braces is no longer supported in > /var/www/pmwiki-2.4.6/cookbook/attachdel.php on line 121 > > Is there a way to fix this? > > Best regards, > Reiner > > > > > ------------------------------ > > Message: 2 > Date: Thu, 07 Aug 2025 20:31:07 +0200 > From: Petko Yotov <5ko at 5ko.fr> > To: Reiner Buehl > Cc: Pmwiki Users > Subject: Re: [pmwiki-users] Problems with AttachDelete Cookbook after > upgrade to PHP 8.2 > Message-ID: > Content-Type: text/plain; charset=UTF-8; format=flowed > > On 07/08/2025 20:21, Reiner Buehl wrote: > > after upgrading to PHP 8.2, I get the following error from the latest > > available version of the AttachDelete cookbook (0.08 - KK): > > > > PHP Fatal error:? Array and string offset access syntax with curly > > braces is no longer supported in > > /var/www/pmwiki-2.4.6/cookbook/attachdel.php on line 121 > > > > Is there a way to fix this? > > Yes, replace curly braces with square brackets in expressions indicating > a numbered character in a string: > > $file{0} > > with > > $file[0] > > Petko > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > pmwiki-users mailing list > pmwiki-users at pmichaud.com > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > > ------------------------------ > > End of pmwiki-users Digest, Vol 242, Issue 1 > ******************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: