Support » Plugin: Theater for WordPress » Cinema: All events pages Fatel Error

  • Resolved collingibson

    (@collingibson)


    Thanks in advance for any help 🙂 I am running Version 1.2.0 of Cinema

    Issue: Any time I visit a production page I get this error…

    Fatal error: Uncaught Error: Call to a member function get() on null in /wp-content/plugins/mennolui-cinema-for-theater/includes/wpt-cinema-frontend.php:212 Stack trace: #0 /wp-includes/shortcodes.php(345): WPT_Cinema_Frontend->wpt_cinema_production_details(Array, ‘{{cine_duration…’, ‘wpt_cinema_prod…’) #1 [internal function]: do_shortcode_tag(Array) #2 /home2/ballinran/public_html/other-websites/queenofthesquare/wp-includes/shortcodes.php(223): preg_replace_callback(‘/\\[(\\[?)(wpt_ci…’, ‘do_shortcode_ta…’, ‘<h3 class=””>De…’) #3 /wp-content/themes/upfront/library/class_upfront_codec.php(373): do_shortcode(‘<h3 class=””>De…’) #4 /wp-content/themes/upfront/elements/upfront-text/lib/upfront_text.php(97): Upfront_MacroCodec_Wordpress->do_shortcode(‘<h3 class=””>De…’) #5 /hom in /wp-content/plugins/mennolui-cinema-for-theater/includes/wpt-cinema-frontend.php on line 212

    It was working so an update may have triggered this. Not sure if I have a syntax error my use of the short codes or if there is a bug because when I turn the Cinema plugin off the production post loads. I am using this on for listing movie details:

    [wpt_cinema_production_details]{{cine_duration|suffix(‘ minutes’)|label(Duration: ‘)}}{{cine_director|label(Directed by: ‘)}}{{cine_producer|label(Produced by: ‘)}}{{cine_cast|label(Cast: ‘)}}{{cine_year|label(Year: ‘)}}{{cine_country|label(Country: ‘)}}{{cine_languages|suffix(‘ spoken’)|label(Spoken Language/s: ‘)}}{{cine_subtitles|suffix( subtitles’)|label(Subtitles Language: ‘)}}[/wpt_cinema_production_details]

    Thanks

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