Fatal error when parsing Shortcode
-
FYI when the Shortcode is parsed directly via
do_shortcode()
your plugin throws the following error:PHP Fatal error: Uncaught Error: Call to a member function display() on null in /path/to/httpdocs/wp-content/plugins/yotuwp-easy-youtube-embed/yotuwp.php:500
The solution is to add the following lines just before line 500:
if ( empty( $this->views ) ) { $this->views = new YotuViews(); }
Nice plugin otherwise ??
- The topic ‘Fatal error when parsing Shortcode’ is closed to new replies.