badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Hellen

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Can not login on backend attitude pro #60610
    Hellen
    Participant

    ** SOLVED ***

    It turned out to be a problem in the child theme’s functions.php

    in reply to: Can not login on backend attitude pro #60588
    Hellen
    Participant

    Hi,

    I have sent you the server error log

    regards

    in reply to: Can not login on backend attitude pro #60585
    Hellen
    Participant

    Hi Support,

    I have deactivated all plugins and checked again, still the same problem. I also cleared chache after all my actions.

    regards

    in reply to: Can not login on backend attitude pro #60568
    Hellen
    Participant

    I have the theme Attitude premium, so you could move this topic to Attitude Premium.
    Also the website is https://www.haptotherapie-moerdijk.nl/wp-login.php.

    in reply to: Can not login on backend attitude pro #60567
    Hellen
    Participant

    Hi support.

    I paid subscripton and downloaded latest version (3.07). Installed this version. I still have the problem. when I set php to version 5.6 everything works oke. If I set the php version to 7.1, then I cannot load the backend page /wp-login.php.

    I really need some help here because at the end of this month the php version will be 7.1.

    regards

    in reply to: change 404 text #11914
    Hellen
    Participant

    Thank you very much, this was the solution that I needed!!!

    kind regards!

    in reply to: change 404 text #11806
    Hellen
    Participant

    Hi,

    I removed the IF-condition like you said, my functions.php now looks like this :

    <?php
    // Exit if accessed directly
    if ( !defined('ABSPATH')) exit;
    
    /* Add custom functions below */
    
    add_action( 'attitude_404_content', 'attitude_display_404_page_content', 10 );
    
    function attitude_display_404_page_content() {
    ?>
    	<div id="content">
    		<header class="entry-header">
    			<h1 class="entry-title"><?php _e( 'Error 404-Page NOT Found', 'attitude' ); ?></a></h1>
    		</header>
    		<div class="entry-content clearfix" >
    			<p><?php _e( 'This is my own text.', 'attitude' ); ?></p>
    			<h3><?php _e( 'lorem ipsum', 'attitude' ); ?></h3>			
    			<h3><?php _e( 'Please try the following instead:', 'attitude' ); ?></h3>
    			<p><?php _e( 'Check for a mis-typed URL error, then press the refresh button on your browser.', 'attitude' ); ?></p> 
    		</div><!-- .entry-content -->
    	</div><!-- #content -->
    <?php
    }

    But i am still getting this error :
    Fatal error: Cannot redeclare attitude_display_404_page_content() (previously declared in …/wp-content/themes/attitude-pro/library/structure/content-extensions.php on line 966.

    somehow i cannot redeclare the function???

    in reply to: change 404 text #11796
    Hellen
    Participant

    Hi,

    this is my complete functions.php in the child-theme directory:

    <?php
    // Exit if accessed directly
    if ( !defined('ABSPATH')) exit;
    
    /* Add custom functions below */
    
    if ( ! function_exists( 'attitude_display_404_page_content' ) ) :
    
    add_action( 'attitude_404_content', 'attitude_display_404_page_content', 10 );
    
    function attitude_display_404_page_content() {
    ?>
    	<div id="content">
    		<header class="entry-header">
    			<h1 class="entry-title"><?php _e( 'Error 404-Page NOT Found', 'attitude' ); ?></a></h1>
    		</header>
    		<div class="entry-content clearfix" >
    			<p><?php _e( 'This is my own text.', 'attitude' ); ?></p>
    			<h3><?php _e( 'lorem ipsum', 'attitude' ); ?></h3>			
    			<h3><?php _e( 'Please try the following instead:', 'attitude' ); ?></h3>
    			<p><?php _e( 'Check for a mis-typed URL error, then press the refresh button on your browser.', 'attitude' ); ?></p> 
    		</div><!-- .entry-content -->
    	</div><!-- #content -->
    <?php
    }
    endif;

    I am still getting the same error.

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