• There is a warning on Admin Page in PHP8
    https://premature-bg.com/wp-admin/edit.php?post_type=cfs

    Warning: Attempt to read property “id” on null in /home/XXXX/public_html/wp-content/plugins/custom-field-suite/includes/third_party.php on line 49

    Warning: Cannot modify header information – headers already sent by (output started at /home/XXXX/public_html/wp-content/plugins/custom-field-suite/includes/third_party.php:49) in /home/prematur/public_html/wp-admin/includes/misc.php on line 1310

    Warning: Cannot modify header information – headers already sent by (output started at /home/XXXX/public_html/wp-content/plugins/custom-field-suite/includes/third_party.php:49) in /home/prematur/public_html/wp-admin/admin-header.php on line 9

    You can fix it by change line 49 on custom-field-suite/includes/third_party.php
    with:
    if ( isset($current_screen->id) AND ‘cfs’ == $current_screen->id ) {

    • This topic was modified 2 years, 10 months ago by toto.
  • The topic ‘PHP Warning in admin page’ is closed to new replies.