Title: The plugin generates PHP errors in the WP admin
Last modified: February 5, 2019

---

# The plugin generates PHP errors in the WP admin

 *  Resolved [Gabor Lippert](https://wordpress.org/support/users/lunule/)
 * (@lunule)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/the-plugin-generates-php-errors-in-the-wp-admin/)
 * 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)

 *  Plugin Author [antongorodezkiy](https://wordpress.org/support/users/antongorodezkiy/)
 * (@antongorodezkiy)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/the-plugin-generates-php-errors-in-the-wp-admin/#post-11175778)
 * Hello [@lunule](https://wordpress.org/support/users/lunule/),
 * Thank you for reporting this. The issue will be fixed in the version 1.4.2
 *  [kcfez](https://wordpress.org/support/users/kcfez/)
 * (@kcfez)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/the-plugin-generates-php-errors-in-the-wp-admin/#post-11274463)
 * Also have same error on wp 5.1 , php 7.3.1
    When can we expect a patch or new
   release?
 *  [SooBahkDo](https://wordpress.org/support/users/soobahkdo/)
 * (@soobahkdo)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/the-plugin-generates-php-errors-in-the-wp-admin/#post-11277508)
 * Same problem here. Previously report directly to developers.
 *  Plugin Author [antongorodezkiy](https://wordpress.org/support/users/antongorodezkiy/)
 * (@antongorodezkiy)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/the-plugin-generates-php-errors-in-the-wp-admin/#post-11282627)
 * Sorry for the late update, friends!
 * 1.4.2 is released today, should be fixed there
 * [@lunule](https://wordpress.org/support/users/lunule/) [@kcfez](https://wordpress.org/support/users/kcfez/)
   [@soobahkdo](https://wordpress.org/support/users/soobahkdo/)
 *  Thread Starter [Gabor Lippert](https://wordpress.org/support/users/lunule/)
 * (@lunule)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/the-plugin-generates-php-errors-in-the-wp-admin/#post-11284195)
 * d(>_< )
 * Thanks for update, Anton! The plugin works fine now.
 *  [SooBahkDo](https://wordpress.org/support/users/soobahkdo/)
 * (@soobahkdo)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/the-plugin-generates-php-errors-in-the-wp-admin/#post-11286458)
 * The notices no longer appear on our network of sites. Yippeeee!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘The plugin generates PHP errors in the WP admin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pdf-light-viewer_ffcfc5.svg)
 * [Wordpress PDF Light Viewer Plugin](https://wordpress.org/plugins/pdf-light-viewer/)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-light-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-light-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-light-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-light-viewer/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)
 * [plugin bug](https://wordpress.org/support/topic-tag/plugin-bug/)
 * [plugin error](https://wordpress.org/support/topic-tag/plugin-error/)
 * [troubleshooting](https://wordpress.org/support/topic-tag/troubleshooting/)

 * 6 replies
 * 4 participants
 * Last reply from: [SooBahkDo](https://wordpress.org/support/users/soobahkdo/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/the-plugin-generates-php-errors-in-the-wp-admin/#post-11286458)
 * Status: resolved