Support » Plugin: WordPress PDF Light Viewer Plugin » The plugin generates PHP errors in the WP admin

  • Resolved lunule

    (@lunule)


    Hi,

    The plugin generates a long list of PHP errors in the WP admin when WP_DEBUG is set to true.

    Notice: Trying to get property 'post_title' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 179
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 182
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 183
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 184
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 185
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 186
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 187
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 188
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 189
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 190
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 191
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 192
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 193
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 194
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 195
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 196
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 197
    
    Notice: Trying to get property 'ID' of non-object in /nas/content/live/thescoringfact/wp-content/plugins/pdf-light-viewer/src/controllers/FrontController.php on line 198

    Could you please fix this? — Thanx.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.