Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error on deactivate


  • crack00r
    Participant

    @crack00r

    Hi, i have a wired problem.
    When i have bbpress activate, my page works fine.

    but when i deactivate the bbpress plugin, my mainpage stop working,
    and i get a php error in logs

    [10-Feb-2015 10:47:43 UTC] PHP Fatal error:  Call to undefined function is_bbpress() in /var/www/clients/client3/web3/web/wp-content/themes/travelify/library/structure/content-extensions.php on line 65
    
Viewing 2 replies - 1 through 2 (of 2 total)

  • crack00r
    Participant

    @crack00r

    Line 65 is:
    if( is_page() || is_bbpress() ) {

    function travelify_theloop() {
    	if( is_page() || is_bbpress() ) {
    		if( is_page_template( 'templates/template-blog-large-image.php' ) ) {
    			travelify_theloop_for_template_blog_image_large();
    		}
    		elseif( is_page_template( 'templates/template-blog-medium-image.php' ) ) {
    			travelify_theloop_for_template_blog_image_medium();
    		}
    		elseif( is_page_template( 'templates/template-blog-full-content.php' ) ) {
    			travelify_theloop_for_template_blog_full_content();
    		}
    		else {
    			travelify_theloop_for_page();
    		}
    	}

    crack00r
    Participant

    @crack00r

    Ohh, ok, i found the problem

    on deactivate bbpress, it didnt change everything in content-extensions.php back to original, i overwrite it now with original, now it works

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar