WordPress.org

Ready to get started?Download WordPress

Forums

Flexi Quote Rotator
Fatal error: Call to a member function ... (3 posts)

  1. cruxwireweb
    Member
    Posted 3 years ago #

    I'm getting this error message:

    Fatal error: Call to a member function getQuoteCode() on a non-object in /home/kcasault/www/wp-content/themes/crossroads/footer.php on line 30

    I added <?php echo $quoteRotator->getQuoteCode(); ?> to my footer.php file.

    Any idea what might be up? I'm using WP 3.0.1 and the latest version of the plug-in. My theme is an adapted copy of twentyten.

    Thanks!

  2. gaberosser
    Member
    Posted 3 years ago #

    Also having the same issue implementing on my site. I had to do a tricky workaround that seemed to fix it.

    Just called the [shortcode] via php:

    <?php echo do_shortcode('[quoteRotator]'); ?>

    Did the trick for me. Let me know if that helps.

  3. dwharrington
    Member
    Posted 3 years ago #

    I was getting the same error, but the shortcode php call worked. Thanks, gaberosser.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic