Support » Plugin: 3D FlipBook - PDF Flipbook Viewer, Flipbook Image Gallery » Tons of errors in DEBUG.LOG file

  • davidstevensdesigns

    (@davidstevensdesigns)


    First of all, I love your plugin! It has terrific potential for our website, so we’re anxious to continue using it, and will likely buy the premium version once we get this issue sorted.

    I set up a debug.log in my wp-config file to help diagnose problems with another plugin. However, when I view the debug.log, I see TONS of errors like this:

    [14-Jan-2021 19:13:30 UTC] PHP Notice: Undefined index: templates in “sitename”/public_html/wp-content/plugins/unreal-flipbook-addon-for-visual-composer/inc/vc-integrate.php on line 26

    So I uninstalled the Visual Composer version, and installed the 3d flipbook version to see if that would help. Now, however, I still get tons of errors, but they now read:

    [15-Jan-2021 09:40:40 UTC] PHP Notice: Trying to get property ‘post_type’ of non-object in “sitename”/public_html/wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/post.php on line 23

    Can you tell me what I can do to fix this??

    Thanks!!

    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author iberezansky

    (@iberezansky)

    Hi Dave,

    Debugging is always enabled on our development server
    define('WP_DEBUG', true);
    but there is nothing.
    What php version do you use? What steps to get the notices?

    Thread Starter davidstevensdesigns

    (@davidstevensdesigns)

    Thanks for the response!

    Currently using PHP version 7.4.14 with WordPress 5.6.41.

    There are no particular steps taken to produce the error. In fact, I can not even visit the site to do any edits and come back several days later to find more entries in the debug log like the ones mentioned above. It seems like the line numbers provided in the error messages would provide some sort of hint as to the cause of the error???

    This will be boring for most people to read, but may be of some use to your support staff. This is the entire DEBUG.LOG for 1/17/21 – 1/19/21:

    [17-Jan-2021 21:39:47 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in
    /home4/”sitename”/public_html/hg_manage.php on line 607

    [17-Jan-2021 21:39:47 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in
    /home4/”sitename”/public_html/hg_manage.php on line 607

    [17-Jan-2021 21:39:47 UTC] PHP Notice: ob_end_flush(): failed to delete and flush
    buffer. No buffer to delete or flush in /home4/”sitename”/public_html/hg_manage.php on
    line 400

    [18-Jan-2021 09:36:12 UTC] PHP Notice: Trying to get property ‘post_type’ of non-object in /home4/”sitename”/public_html/wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/post.php on line 23

    [19-Jan-2021 09:35:46 UTC] PHP Notice: Trying to get property ‘post_type’ of non-object in /home4/”sitename”/public_html/wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/post.php on line 23

    [19-Jan-2021 12:21:10 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in
    /home4/”sitename”/public_html/hg_manage.php on line 607

    [19-Jan-2021 12:21:11 UTC] PHP Notice: Trying to get property ‘ID’ of non-object in
    /home4/”sitename”/public_html/hg_manage.php on line 607

    [19-Jan-2021 12:21:11 UTC] PHP Notice: ob_end_flush(): failed to delete and flush
    buffer. No buffer to delete or flush in /home4/”sitename”/public_html/hg_manage.php on
    line 400

    [20-Jan-2021 09:37:04 UTC] PHP Notice: Trying to get property ‘post_type’ of non-object in /home4/”sitename”/public_html/wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/post.php on line 23

    [21-Jan-2021 09:37:32 UTC] PHP Notice: Trying to get property ‘post_type’ of non-object in /home4/”sitename”/public_html/wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/post.php on line 23

    [22-Jan-2021 09:38:10 UTC] PHP Notice: Trying to get property ‘post_type’ of non-object in /home4/”sitename”/public_html/wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/post.php on line 23

    ——————END———————-

    Note that the hg_manage.php file (per hostgator) is used to facilitate logging in from their backend admin panel, since their Optimized WordPress hosting doesn’t come with cpanel. Those errors don’t appear to have anything to do with the flipbook errors.

    I hope the above helps? Oh, also…I’m using The7 theme from Dream-Themes so I don’t know if there’s a conflict there or not, but they’re one the largest selling authors and The7 has a huge install base.

    I appreciate your help!

    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tons of errors in DEBUG.LOG file’ is closed to new replies.