Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Okay, so I figured out the solution and it was an easy one. From what I can tell, during a plugin update the plugin is deactivated then reactivated as the last step. The update went through fine on the live site but threw the error above before reactivating the plugin. Since the required file resides in the buddypress plugin the above error will appear until BuddyPress is reactivated.

    Here is what you do:
    1) Comment out the offending code in your theme (ususally in functions.php but the error message will tell you).
    2) FTP the file with the commented out offending code to the site and you should be able to access wp-admin.
    3) Go in and activate BuddyPress as the new version should be fully loaded and working fine.
    4) Uncomment the code that you commented out in step 1
    5) FTP the file back to the site and everything should be working fine with the new BuddyPress.

    This happened to me with a custom buddyPress theme, I did not use the default BP theme as a parent theme.

    Hope this allows somebody to avoid the stress I went through today!

    Hi, I’m having this same issue. This site relies on BP. I updated without issues on my local copy and on my dev server without issues. When I updated the live site I got the above error. Appears to be hosting issue, the host is siteground. I know that contacting them would be a good answer but I’d prefer not to wait for that if someone has some ideas.

    Thx

    John

    @kikuyumoja
    I have this problem now, tried jpeg, jpg & png and not showing up. I’ve run into this problem before and it was due to double line spacing in my functions.php file or files that are included in functions.php The weird thing now is that it’s working fine on my localhost but not the live server. I run into this problem more than any other on WP!

    I was having some trouble getting bgajus’s solution to work. After some poking around I found that I needed to have this at the top of my search.php template file.

    <?php
    global $query_string;
    
    $query_args = explode("&", $query_string);
    $search_query = array();
    
    foreach($query_args as $key => $string) {
    	$query_split = explode("=", $string);
    	$search_query[$query_split[0]] = $query_split[1];
    } // foreach
    
    $search = new WP_Query($search_query);
    ?>

    Then follow the instructions here when you set up your search results loop.

    whoops, meant d-donkey. Hopefully you can get that class uploaded, I was just coming back to take a closer look =)

    thanks d-monkey. Do you know of a way to pass a variable into the function called ‘admin_display_settings’ above? Working toward a similar approach for theme development but it’s not objected oriented at the moment. I’m just looping through a multidimensional array I built to create the needed admin pages.

    Thanks!

    Phil may not have been able to use it but this is great info for my latest project. Thanks for the detailed instructions!

    John

    Thread Starter ilightning

    (@ilightning)

    Great, worked perfectly.

    Why if(count($alt))?

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