[resolved] fatal error (2 posts)

  1. Maruti Mohanty
    Posted 3 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.


  2. Maruti Mohanty
    Posted 3 years ago #

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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Activity
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic