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

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
laborix
Posts: 118
Joined: Sat Feb 16, 2019 3:51 pm

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

Post by laborix » Sun Sep 18, 2022 2:00 pm

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.

User avatar
Arvid
FlatPress Coder
Posts: 558
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

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

Post by Arvid » Sat Oct 01, 2022 7:28 pm

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

laborix
Posts: 118
Joined: Sat Feb 16, 2019 3:51 pm

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

Post by laborix » Sun Oct 02, 2022 4:20 pm

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


Post Reply

Who is online

Users browsing this forum: No registered users and 42 guests