[wp-trac] [WordPress Trac] #59103: Gutenberg 16.4 Footnotes Critical Bug on PHP 8.0

WordPress Trac noreply at wordpress.org
Tue Aug 15 01:22:21 UTC 2023


#59103: Gutenberg 16.4 Footnotes Critical Bug on PHP 8.0
---------------------------+------------------------------
 Reporter:  orangeavocad0  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Post Formats   |     Version:  6.3
 Severity:  critical       |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+------------------------------

Comment (by orangeavocad0):

 Replying to [comment:2 ramonopoly]:
 > Are there any steps to reproduce this?
 >
 > I tried using 6.3 on PHP 8.0 but couldn't.
 >
 > Even so, I've added a bit of defensive code to the footnotes block in
 https://github.com/WordPress/gutenberg/pull/53660 just in case.
 >
 > Edit: And Gutenberg 16.4 :)

 I tried but sometimes the bug happens, sometimes it doesn't. Not very sure
 what is the trigger for this fatal error.

 Actually when it occurred for my site, the Happiness Engineer thought that
 it was plugin conflict but after doing some testing, there isn't any
 plugin conflict.

 I clearly see the fatal error in the site logs about the footnotes. :)

 One thing to highlight is that downgrading to PHP 7.4 reduced the fatal
 error to a warning but it still caused other errors in the editor.
 Additionally, even though it was just a warning, the footnotes is not
 rendering in page. For example, see this post -
 [https://blog.pastething.com/2023/08/09/economics-navigate-automated-world
 /#universal-basic-income-a-beacon-of-hope-or-just-a-mirage]

 I think the site log I posted earlier is the best I can provide for now :(

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59103#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list