Forum Replies Created

Viewing 15 replies - 1 through 15 (of 61 total)
  • I may be having the same issue. Everything is painfully slow, but now even worse I cannot even access the Events in WordPress admin. Clicking ‘Events > Events’ just hangs until I finally get a ‘508 resource limit is reached’error message. This is a bit of a disater as today is actually the launch date for the website events. We now can;t get into admin to make any important updates to event information.

    I can access other Events Calendar section, just not main the Events list section. We are using version 4.9.10 however.

    This looks like it might be a similar issue to the one I am still having:

    https://www.ads-software.com/support/topic/the-plugin-breaks-wp-admin-still/

    You might be getting caught in that same redirect loop as me, which end up with a 503 error. Maybe try logging in directly to the /w-admin/index.php file, as works for me?

    I’ve not had any feedback on that thread linked to above, and I was removed from the previous one I was in, about the same subject. This is a real problem for me, as I’ve bought quite a few expensive addons from WooCommerce, and the client needs to use WooCommerce Admin to work with those plugins. They currently can’t even use WordPress Admin with this plugin active.

    Hopefully someone can look into where the conflict with this plugin is happening. None of the systems I use, such as wp-config.php debugging mode, or browser developer consoles are returning any errors. Also, this issue happened on a fresh install of WordPress with only WooCommerce plugins in place.

    Help badly needed!

    I’m just commenting on this one for what it is worth! I have similar issues: The client really just wants to go to a summary page where they can see a ticket sales, attendees vs capacity remaining breakdown/summary for all events, with the total ticket sales per event. I can see there is a ‘Sales’ column I can add, but it just returns nothing, or -blank- depending where I order it.

    Seems like all the info is there to be extracted; it is all available in the Events Attendees and Orders sections of each Event. It would be great to be able to output that all on the one screen. Seems like this plugin is almost able to do this? I imagine the client may be willing to pay for extra development to get this in place, if anyone can do that?

    Thread Starter matstillo

    (@matstillo)

    Hi there,
    No, that was the old system. You plugin enabled us to replace it. It should be all deactivated, I’ve just left some of its old css classes in place to handle the styling,

    Cheers!

    Mat

    Thread Starter matstillo

    (@matstillo)

    Regarding the 404, I had added this:

    remove_action( 'wp', 'cptda_handle_404' );

    Thread Starter matstillo

    (@matstillo)

    Hi there,

    Thanks again. Changing to $query->set just seemed to break the sorting of the loop, but still didn’t display the old posts. In fact, I have just tried removing my pre_get_posts query from functions.php entirely, and the old posts are still not showing, so the issue must lie elsewhere.

    I’ll need to clone the site to a development area to test more in depth now, so I don’t play around with the live environment.

    I’ll keep you posted with what I uncover there, but many thanks for all your help so far,

    Cheers!

    Mat

    Thread Starter matstillo

    (@matstillo)

    Amazing response, thank you so much!

    And you are correct, I had used pre_get_sposts to change the sort order. Not sure why that is preventing old posts displaying though? I didn’t write this function, I’m not that smart unfortunaetly. I just found that in a thread, so I wouldn’t know quite why that might be breaking things?

    	// function to modify the main query object
    	function my_modify_main_query( $query ) {
    	if ( $query->is_post_type_archive('events') && $query->is_main_query() ) { // Run only on the Events Archives
    	$query->query_vars['orderby'] = 'date';
    	$query->query_vars['order'] = 'ASC';
    	}
    	}
    	add_action( 'pre_get_posts', 'my_modify_main_query' );

    What would I need to modify there?

    Thanks once again, you are a lifesaver! ??

    Mat

    Thread Starter matstillo

    (@matstillo)

    OK, great stuff, that makes sense. I had dequeued some WooCommerce scripts on non-shop pages to see things up a little. It’s all coming back to me now! ??

    I’ve only re-queued cart-fragments.min.js. Is that definitely the only one I will need for all to work correctly?

    Also, I’m using wp-fastest-cache for caching. Its currently not caching the following pages: cart, checkout & my account. Are there any other considerations for caching with your plugin?

    Many thanks for the help,

    Mat

    Thread Starter matstillo

    (@matstillo)

    Hi there,

    That’s great stuff, nice support, thanks very much. That looks like that will do everything I need. Just on a slighty different note: I’m going to be using this so I can work with a modified setup of Slick Slider. In the meantime, I’m just using the carousel shortcode, but can’t get that to randomise the brands in the carousel:

    [pwb-carousel items=”16″ items_to_show=”8″ items_to_scroll=”1″ image_size=”square_small” autoplay=”true” arrows=”false” order_by=”rand”]

    It’s still just outputting them in alphabetical order. It looks like the ‘rand’ option is set up in the plugin code, can you see why that might not be working? ‘square_small’ is just a custom image size I have set up, which is working fine.

    Many thanks again!

    Mat

    matstillo

    (@matstillo)

    Hi there, I’m having the same issue: I only want Brands to appear in the sidebar that are actually included in the current loop of products. Did you get anywhere with this?

    Cheers!

    matstillo

    (@matstillo)

    My own shortcode for [slideshow] was for something totally unrelated to NextGen, which is why it took a while to figure it out!

    matstillo

    (@matstillo)

    Just adding this in case it helps anyone else who finds this thread on a search for ‘We cannot display this gallery’!

    I came across this problem this week when implementing a new Theme for a site. Turns out I was using a custom shortcode for [slideshow], which was somehow conflicting with NextGen’s own shortcodes I guess?

    I just renamed my own shortcode & things were back in business. So possibly just check you don’t have any shortcode conflicts?

    Hi there,

    Bit late in the thread now, but I’m still having this exact same issue. All my sites running Shopp are still frozen at 1.9.13. Is there any further progress on this from the Photocrati team?

    I just tried an upgrade to 2.0.66, but the issue is still there.

    Cheers!

    Thread Starter matstillo

    (@matstillo)

    Not sure what happened in this thread, as I had posted a message earlier saying that it looked like I had NOT managed to get it working after all. That post is now missing!

    The code above is as far as I got, but still doesn’t work. Each page is still being randomised.

    Hopefully someone can see what might be going on.

    Cheers!

    Thread Starter matstillo

    (@matstillo)

    <?php
    
    // Retrieve consistent random set of posts with pagination
    function mam_posts_query($query) {
       global $mam_posts_query;
       if ($mam_posts_query && strpos($query, 'ORDER BY RAND()') !== false) {
          $query = str_replace('ORDER BY RAND()',$mam_posts_query,$query);
          //print_r("<p>$query</p>");
       }
       return $query;
    }
    add_filter('query','mam_posts_query');
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $seed = date('Ymd');  // Use date('Ymdh') to get an hourly change
    global $mam_posts_query;
    $mam_posts_query = " ORDER BY rand($seed) "; // Turn on filter
    $args = array(
       'caller_get_posts' => 1,  // Stickies will be repeated if this is not set
       'orderby' => 'rand',      // This MUST be in the query - the filter checks for it
       'paged' => $paged,
    );
    
    global $wp_query;
    query_posts(
       array_merge(
          $wp_query->query,
          $args
       )
    );
    
    $mam_posts_query = ''; // Turn off filter
    
    	if (have_posts()) : while (have_posts()) : the_post();
    ?>
    
    	<h1>Your stuff here</h1>
    
    <?php endwhile; ?>
    
    	<div>
    	   <div><?php next_posts_link('&laquo; Older Entries') ?></div>
    	   <div><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    	</div>
    
    <? endif; ?>
Viewing 15 replies - 1 through 15 (of 61 total)