Thanks for notifying me, recipe updated, you can get it from the cookbook.

Here we can suppress the "undefined/null variable" notice with @:

  if (@$page['title']) {...

Petko

On 19/02/2022 11:27, Jean-Patrick Charrey wrote:
Hi

I have been testing the latest Pmwiki 2.3.2 on PHP8.0  I have the
following warning message:

Warning: Undefined array key "title" in .../cookbook/grouptitle.php on
line 39

I have been to reproduce this bug on a plain setup, no other
cookbooks, default PMwiki skin.
I don't have this message in PHP7.4

Line 39 in grouptitle.php has the following code

_    if ($page['title']) { return $page['title'];

I guessing a sintax update is needed, but not sure which one. I
realize this Cookbook is perhaps not the most used, but I would
appreciate some help to fix this issue.
 Jean-Patrick

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to