Some PHP notices with WP_DEBUG enabled
-
Hi. This looks like a fantastic plugin! Thanks so much for putting the time and effort into making this.
After plugin activation on wp-admin/edit.php?post_type=evideolqh
Notice: Trying to get property of non-object in /path/to/plugins/elearning-video-player/elearning-video-player.php on line 55And on wp-admin/post-new.php?post_type=evideolqh
Notice: Undefined index: evideometa_noncename in /path/to/plugins/elearning-video-player/includes/custom-post-type.php on line 189On the front-end when previewing a video:
Notice: Trying to get property of non-object in /path/to/plugins/elearning-video-player/elearning-video-player.php on line 67 and
Notice: Trying to get property of non-object in /path/to/plugins/elearning-video-player/elearning-video-player.php on line 55
Generally speaking, when I develop locally, I have WP_DEBUG enabled so I can catch any warnings like this.
Is there a github repo for this plugin? I’m more than happy to submit some PRs to fix these up.
Again, thanks so much.
https://www.ads-software.com/plugins/elearning-video-player/
- The topic ‘Some PHP notices with WP_DEBUG enabled’ is closed to new replies.