Wsparcie » Motywy » Prophoto 4 i błąd w functions.php

  • Mam problem z motywem prophoto4 a mianowicie pojawia się błąd kiedy chcę dodać przycisk do menu

    Fatal error …/public_html/blog/wp-includes/functions.php on line 4036.

    Możecie coś poradzić ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Jaki jest pełny komunikat?

    Możliwe, że coś niedograne masz.

    Wyślij jeszcze raz motyw na serwer.

    Fatal error …/public_html/blog/wp-includes/functions.php on line 4036.

    Możecie coś poradzić ?

    Bo to trochę jak wróżenie. Co tam w tej linii się znajduję.

    Thread Starter marcin857

    (@marcin857)

    4019 * Load the auth check for monitoring whether the user is still logged in.
    *
    * Can be disabled with remove_action( 'admin_enqueue_scripts’, 'wp_auth_check_load’ );
    *
    * This is disabled for certain screens where a login screen could cause an
    * inconvenient interruption. A filter called wp_auth_check_load can be used
    * for fine-grained control.
    *
    * @since 3.6.0
    */
    function wp_auth_check_load() {
    if ( ! is_admin() && ! is_user_logged_in() )
    return;

    if ( defined( 'IFRAME_REQUEST’ ) )
    return;

    4036 $screen = get_current_screen();
    $hidden = array( 'update’, 'update-network’, 'update-core’, 'update-core-network’, 'upgrade’, 'upgrade-network’, 'network’ );
    $show = ! in_array( $screen->id, $hidden );

    if ( apply_filters( 'wp_auth_check_load’, $show, $screen ) ) {
    wp_enqueue_style( 'wp-auth-check’ );
    wp_enqueue_script( 'wp-auth-check’ );

    add_action( 'admin_print_footer_scripts’, 'wp_auth_check_html’, 5 );
    add_action( 'wp_print_footer_scripts’, 'wp_auth_check_html’, 5 );
    }
    4047 }

    A to jest pełny komunikat błędu? W error logu też nic więcej nie pokazuje?

    Bo zapewniam, błąd nie tkwi w plikach wordpressa, tylko gdzieś w motywie.
    Bez wglądu w całość, tak na wyrywki to jak szukanie igły w stogu siana.

    Tutaj masz opis metody aktualizacji motywu >> http://www.prophoto.com/support/update-theme-files/

    Ponieważ to motyw komercyjny,polecam mimo wszystko kontakt z supportem – http://www.prophoto.com/contact/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Temat ‘Prophoto 4 i błąd w functions.php’ jest zamknięty na nowe odpowiedzi.