WordPress.org

Ready to get started?Download WordPress

Forums

WP-Activity
[resolved] fatal error (2 posts)

  1. Maruti Mohanty
    Member
    Posted 2 years ago #

    Hi Dric and All,

    I edited a/two post(s) as a user and after the admin approval, I saw the following message in the recent activity space
    "Fatal error: Call to a member function query() on a non-object in /my-path/wp-content/plugins/wp-activity/wp-activity.php on line 616"

    I am trying to customize the homepage.php

    my codes for homepage.php are as follows

    <?php get_header(); $used_items = get_option('ppt_layout_block'); ?>

    <?php if(get_option("PPT_slider") =="s2" ){ $GLOBALS['s2'] =1;echo $PPTDesign->SLIDER(2); } ?>

    <?php if(is_array($used_items)){ foreach($used_items as $object){

    if ($object == 'widget'){

    echo '<div class="itembox greybg">';
    echo do_shortcode('[ACT_STREAM number = "10"]');
    echo '</div>';

    }

    echo $PPTDesign->GetObject($object); } }

    ?>
    <?php get_footer(); ?>

    Please suggest me a solution.

    Thanks in advance.

    http://wordpress.org/extend/plugins/wp-activity/

  2. Maruti Mohanty
    Member
    Posted 2 years ago #

    This topic has already been discussed and solved here in the forums...
    Below is the link

    http://wordpress.org/support/topic/plugin-wp-activity-new-php-issue-in-191?replies=5

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic