Bug in /includes/admin/editor.php line 104
-
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug in /includes/admin/editor.php line 104’ is closed to new replies.