Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter ginaelena

    (@ginaelena)

    Now there is a new problem. https://amandaginsburg.se

    Notice: post_permalink is deprecated since version 4.4! Use get_permalink() instead. in /customers/b/d/7/amandaginsburg.se/httpd.www/wp-includes/functions.php on line 3573

    The Code:
    if ( WP_DEBUG && apply_filters( ‘deprecated_function_trigger_error’, true ) ) {
    if ( function_exists( ‘__’ ) ) {
    if ( ! is_null( $replacement ) )
    Line 3573: trigger_error( sprintf( __(‘%1$s is deprecated since version %2$s! Use %3$s instead.’), $function, $version, $replacement ) );
    else
    trigger_error( sprintf( __(‘%1$s is deprecated since version %2$s with no alternative available.’), $function, $version ) );
    } else {
    if ( ! is_null( $replacement ) )
    trigger_error( sprintf( ‘%1$s is deprecated since version %2$s! Use %3$s instead.’, $function, $version, $replacement ) );
    else
    trigger_error( sprintf( ‘%1$s is deprecated since version %2$s with no alternative available.’, $function, $version ) );

    Thread Starter ginaelena

    (@ginaelena)

    No one that knows what to do?

    It says:

    Fatal error: Call to undefined function add_action() in /customers/b/d/7/amandaginsburg.se/httpd.www/wp-includes/functions.php on line 48

    I switched to an unedited version of functions.php in the wp-includes folder, on line 48 you can read: add_action( ‘after_setup_theme’, ‘twentyeleven_setup’ );

    Which action should I add?

    Thread Starter ginaelena

    (@ginaelena)

    Thank you, I tried again replace the function-file in the wp/includes-folder. But the site is still down so I don’t know…

    Thread Starter ginaelena

    (@ginaelena)

    Thank you so so much Matcha Labs, it worked really perfect!

    A website that I am working on is down too ??

    https://www.atelje19.se

    I updated to 4.1 and it’s only a blank page. Activated the Debug_display and it says:

    Warning: require(/customers/5/1/f/atelje19.se/httpd.www/wp-content/themes/twentyfourteen/inc/custom-header.php): failed to open stream: No such file or directory in /customers/5/1/f/atelje19.se/httpd.www/wp-content/themes/twentyfourteen/functions.php on line 503 Fatal error: require(): Failed opening required ‘/customers/5/1/f/atelje19.se/httpd.www/wp-content/themes/twentyfourteen/inc/custom-header.php’ (include_path=’.:/usr/share/php’) in /customers/5/1/f/atelje19.se/httpd.www/wp-content/themes/twentyfourteen/functions.php on line 503

    I’m only working with the child theme, css file, and haven’t been editing in the functions.php document, so I don’t understand why it says it’s an error on “line 503”?

    Thread Starter ginaelena

    (@ginaelena)

    Perfect! Thanks!

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