Suffusion + Suffusion Commerce pack + Prospress Error

Reports about issues that you encounter in Suffusion
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Suffusion + Suffusion Commerce pack + Prospress Error

Postby Cheyko » 03 Apr 2012, 15:09

Alright, upon updating to 3.3.1 of WordPress Prospress 'breaks' and you get the following error on the auction index page;

Fatal error: Call to a member function the_winning_bid_value() on a non-object

Now, you fix that error by changing lines 33 and 34 of the index page for prospress to the following code;

<?php if ( $pp_loop->have_posts() ) : while ( $pp_loop->have_posts() ) : $pp_loop->the_post(); ?>

This fixes the error completely... until using Suffusion Commerce Pack in order to fix the template issue. I've tried messing around on it to fix the error, but have no idea how to.

Any one have any idea at all how to fix this error?
Cheyko
 
Posts: 3
Joined: 03 Apr 2012, 15:05

Re: Suffusion + Suffusion Commerce pack + Prospress Error

Postby sayontan » 03 Apr 2012, 15:48

You should be able to go to wp-content/plugins/suffusion-commerce-pack/templates/prospress/index-auctions.php. You will see around line 37:
Code: Select all
      if (have_posts()) {
         while (have_posts()) {
            the_post();

Change it to:
Code: Select all
      if ($pp_loop->have_posts()) {
         while ($pp_loop->have_posts()) {
            $pp_loop->the_post();


After that rebuild your files from the plugin options.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Suffusion + Suffusion Commerce pack + Prospress Error

Postby Cheyko » 03 Apr 2012, 15:54

That did the trick perfectly! Thank you so much! (And extra thanks for making such an amazing set of plugins and an amazing theme!)
Cheyko
 
Posts: 3
Joined: 03 Apr 2012, 15:05


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 2 guests