Home Forums Theme support Problem with rReal Broker theme

This topic contains 3 replies, has 2 voices, and was last updated by  7Theme Support 5 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Hey there,sorry for my English.
    After installing the theme and then modify my custom css, when I save changes, I get the login screen, I logging and I get a screen with a 404 error and the only way to avoid this is to change the active theme by phpmyadmin.
    What can I do.
    Thanks

    Hi, there was a problem with the most recent WordPress core update, but we fixed it already. You can add this code to your functions.php file to solve the problem:

    add_filter( 'login_url', 'my_login_page', 10, 2 );
    function my_login_page( $login_url, $redirect ) {
        return home_url( 'wp-login.php' );
    }

    Hi,

    I have placed the function in the functions.php file and the web returns a 500 error.
    This is the entry of the error log file:

    [Mon Dec 28 11:05:34.021097 2015] [fcgid:warn] [pid 23226] [client 79.108.236.176:63995] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /var/www/vhosts/medihabitat-inmuebles.es/httpdocs/wp-content/themes/realbroker/functions.php on line 266

    Hi,

    have you copied the exact code from above? Can you send us the complete content of the functions.php file (info@7theme.net)?

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

You must be logged in to reply to this topic.