• Resolved stevegs

    (@stevegs)


    This happens with any ‘Add New’ page/post in WordPress but only appears in PHP8. The problem is PHP8 requires an alternative in $_GET if an empty string is returned, otherwise it issues a warning. The following replacement for line 104 works:

    if ( $_GET['action'] ?? '' === 'elementor' ) {

    The double question mark returns an empty string by default if $_GET['action'] is null.

    • This topic was modified 2 years, 3 months ago by stevegs.
    • This topic was modified 2 years, 3 months ago by stevegs.
    • This topic was modified 2 years, 3 months ago by stevegs.
Viewing 1 replies (of 1 total)
  • Hi @stevegs

    Thank you for bringing this to our attention! I was able to replicate this as well, and have opened a ticket with our team to investigate this. The moment I have any news to share regarding this, I’ll be sure to let you know :).

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Bug in /includes/admin/editor.php line 104’ is closed to new replies.