Page 1 of 1

Flatpress 1.2.1 and PHP 8.0: Warning with [more]-tag

Posted: Sun Sep 18, 2022 2:00 pm
by laborix
Situation:
Install Flatpress and create another blog article. The first blog article in the Flatpress blog contains a [more] tag. If you click on the first blog article and then on [Read more...], the following error message appears in the "this page/next page" section.

Code: Select all

Warning: Trying to access array offset on value of type null in .../fp-includes/core/core.wp-pluggable-funcs.php on line 66
Warning: Undefined array key 1 in .../fp-includes/core/core.fpdb.class.php on line 935
This only happens if the very first blog article contains a [more] tag.

Re: Flatpress 1.2.1 and PHP 8.0: Warning with [more]-tag

Posted: Sat Oct 01, 2022 7:28 pm
by Arvid
Hi,

thanks for reporting! :)
Can you still reproduce this with the current master? I was quite sure we fixed this with 92475a3.

All the best,
Arvid

Re: Flatpress 1.2.1 and PHP 8.0: Warning with [more]-tag

Posted: Sun Oct 02, 2022 4:20 pm
by laborix
Arvid wrote: Sat Oct 01, 2022 7:28 pm... Can you still reproduce this with the current master? I was quite sure we fixed this with 92475a3. ...
Tested with FlatPress Master Github 710 on PHP 8.0.23 and it seems to fixed :)

regards

Re: Flatpress 1.2.1 and PHP 8.0: Warning with [more]-tag

Posted: Sun Oct 02, 2022 6:04 pm
by Arvid
Awesome 8-)