• Resolved sccjono

    (@sccjono)


    I have been forced by my host to upgrade from PHP7.4 to PHP8. Since the upgrade the following error is appearing immediately after the content of each post.

    Warning: Attempt to read property “content” on int in nextgen-gallery/products/photocrati_nextgen/modules/third_party_compat/module.third_party_compat.php on line 142

    I am running NextGEN Version 3.26 with NextGEN Start version 1.0. WordPress is version 6.

    • This topic was modified 2 years, 8 months ago by sccjono.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Imagely

    (@imagely)

    Hi @sccjono,

    This is a non-critical warning that’s going to be fixed in one of the upcoming updates. In the meantime, you can safely hide the site’s warnings from wp-config.php file by replacing:

    define('WP_DEBUG', true);

    with these

    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);
    Thread Starter sccjono

    (@sccjono)

    Ah excellent. Thanks for the reply.

    jono

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: Attempt to read property “content” on int in’ is closed to new replies.