Title: agusls's Replies | WordPress.org

---

# agusls

  [  ](https://wordpress.org/support/users/agusls/)

 *   [Profile](https://wordpress.org/support/users/agusls/)
 *   [Topics Started](https://wordpress.org/support/users/agusls/topics/)
 *   [Replies Created](https://wordpress.org/support/users/agusls/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/agusls/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/agusls/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/agusls/engagements/)
 *   [Favorites](https://wordpress.org/support/users/agusls/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Better WordPress Google XML Sitemaps (support Sitemap Index, Multi-site and Google News)] Fatal error: Call to a member function log()](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-log/)
 *  Thread Starter [agusls](https://wordpress.org/support/users/agusls/)
 * (@agusls)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-log/#post-6992947)
 * i will try it
    thank a lot Khang Minh
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Better WordPress Google XML Sitemaps (support Sitemap Index, Multi-site and Google News)] Fatal error: Call to a member function log()](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-log/)
 *  Thread Starter [agusls](https://wordpress.org/support/users/agusls/)
 * (@agusls)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-log/#post-6992906)
 * error not happen while generate a sitemap
 * just first time i access my site, with url [http://es.h24.website/](http://es.h24.website/)
   always get error like this
    but second time, no error
 * randomly, error found on posts
 * now i get error like this
    Fatal error: Call to a member function get_log_item_data()
   on a non-object in /home/lazdacas/public_html/h24.website_es/wp-content/plugins/
   bwp-google-xml-sitemaps/src/class-bwp-gxs.php on line 2533
 * i’m test on my others site, i’m still get error non-object
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Featured Products "free" on home pg](https://wordpress.org/support/topic/featured-products-free-on-home-pg/)
 *  [agusls](https://wordpress.org/support/users/agusls/)
 * (@agusls)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/featured-products-free-on-home-pg/#post-3542032)
 * This my solution to fixing this bug.
 * Open index.php on wootique folder
    goto line 43, found similiar code like this:
 * while ( $loop->have_posts() ) : $loop->the_post(); $_product = &new **WC_Product**(
   $loop->post->ID );
 * change class “WC_Product” –> “WC_Product_Variable”
 * Finally :
 * while ( $loop->have_posts() ) : $loop->the_post(); $_product = &new **WC_Product_Variable**(
   $loop->post->ID );
 * Now featrue product display correct price.

Viewing 3 replies - 1 through 3 (of 3 total)