Support » Plugin: PHP Code Widget » Fatal Error: Call to member function

  • Resolved Tech4Eleven


    Im not sure where my php code is wrong but Im getting this on the front end of my site:

    Fatal error: Call to a member function getOption() on a non-object in /home/ohanapie/public_html/wp-content/plugins/php-code-widget/execphp.php(27) : eval()’d code on line 2

    my php code is:

    if ($gummWpHelper->getOption(‘banda_header_countdown_display’) === ‘true’) {

    My guess is that the widget can’t call the function? Any help is appreciated. Im trying to render an event countdown in my sidebar that i originally omitted from the header.php

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error: Call to member function’ is closed to new replies.