[pmwiki-users] Deprecated error after upgrade to version 2.3.11

2022-09-15 Thread Hans-Jürgen Godau
After upgrqading pmwiki to vs. 2.3.11 i got the error *Deprecated*: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in */home2/godau/public_html/valentin/wiki/pmwiki.php* on line *75* My installed php Version is 8.2*. *I changed line 75 from

Re: [pmwiki-users] Using imagemap.php with php8.x

2022-06-24 Thread Hans-Jürgen Godau
rade : https://www.pmwiki.org/Upgrades > > > На 22/06/2022 15:02, Hans-Jürgen Godau написа: > > While using imagemap.php from the cookbook I had to change the code > > because of Warnings/Errors shown by php: > > > > --- imagemap.php 2022-06-21 17:42:57.389642705 +02

[pmwiki-users] Using imagemap.php with php8.x

2022-06-22 Thread Hans-Jürgen Godau
While using imagemap.php from the cookbook I had to change the code because of Warnings/Errors shown by php: --- imagemap.php 2022-06-21 17:42:57.389642705 +0200 +++ imagemap.php.new 2022-06-22 13:47:31.360706020 +0200 @@ -49,17 +49,22 @@ Markup('area', 'directives', "/\\(:area

Re: [pmwiki-users] Undefined array key "title" in .../grouptitle.php - in PHP8

2022-02-20 Thread Hans-Jürgen Godau
I just would try using the line *if (array:key:exists('title',$page) && $page['title']) { return $page['title'];* I think in php 8 a non existing key throws this Warning! Greetings, jürgen Am Sa., 19. Feb. 2022 um 11:28 Uhr schrieb Jean-Patrick Charrey < jpchar...@free.fr>: > Hi > > I have

[pmwiki-users] New warnings with php 8.1.2

2022-01-26 Thread Hans-Jürgen Godau
Today I got a number of deprecated error messages in my pmwiki after setting up php to version 8.1.2 on arch linux. There seem to be new warnings in case of unset parameters to preg_repalce, strlen or strncmp. That happens for examplin pmwiki.php: Passing null to parameter #3 ($subject) of type

Re: [pmwiki-users] ABC tunebook

2019-12-12 Thread Hans-Jürgen Godau
be played? > > > > Regards > > > > Dave Cooke > > > > *From:* Hans-Jürgen Godau > *Sent:* 19 July 2019 15:34 > *To:* David Cooke > *Cc:* PMWiki > *Subject:* Re: [pmwiki-users] ABC tunebook > > > > I use abctunebook. I made some mods to cope wi

Re: [pmwiki-users] Numbered Sections cookbook recipe

2019-11-13 Thread Hans-Jürgen Godau
gs currently depend on the table of contents, but > that should be refactored to become an independent function. Now, if the > sections are less than 3 (configurable), there is no TOC and the > headings are not numbered. > > Petko > > On 13/11/2019 15:23, Hans-Jürgen Godau wrote: > &g

[pmwiki-users] Numbered Sections cookbook recipe

2019-11-13 Thread Hans-Jürgen Godau
I wanted to have numbered sections in my wiki-page, so I tried the numbered sections recipe and noticed, it still uses the deprecated "/e" Markup. so I changed the source with the following diff's: - --- Downloads/archive/pmwiki/numberedsections.php +++ numberedsections.php

Re: [pmwiki-users] ABC tunebook

2019-07-19 Thread Hans-Jürgen Godau
I use abctunebook. I made some mods to cope with php 7.2 and the latest pmwiki-release. Here are my diffs: --- abctunebook/cookbook/abctunebook.php 2016-01-08 15:39:00.0 +0100 +++ cookbook/abctunebook.php 2018-11-13 12:43:55.756779161 +0100 @@ -16,20 +16,23 @@

[pmwiki-users] warning on continue in pmwiki.php from php 7.3

2018-12-14 Thread Hans-Jürgen Godau
Hello, on my Arch-System, which updated php to 7.3, I now receive the warnings *Warning*: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in *pmwiki.php* on line *739* *Warning*: "continue" targeting switch is equivalent to "break". Did you mean to use

Re: [pmwiki-users] Deprecated: Function create_function() in line 481 of pmwiki.php

2018-02-08 Thread Hans-Jürgen Godau
regards, jürgen 2018-02-07 8:30 GMT+01:00 Petko Yotov <5...@5ko.fr>: > On 05/02/2018 14:00, Hans-Jürgen Godau wrote: > >> the info on pmwiki.org/Troubleshooting says, the warning should be gone >> with the latest release. >> But even after upgrading to 2.2.107 I sti

[pmwiki-users] Deprecated: Function create_function() in line 481 of pmwiki.php

2018-02-06 Thread Hans-Jürgen Godau
Hello, the info on pmwiki.org/Troubleshooting says, the warning should be gone with the latest release. But even after upgrading to 2.2.107 I still get this warning, caused by the Function PCCF in pmwiki.php. How can I get rid of it without setting error_reporting to ~E_DEPRECATED? all the best,