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
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
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
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
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
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
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
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
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 @@
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
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
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,
12 matches
Mail list logo