• 16-08-2022, 20:31:36
    #1
    sitenin anasayfasında bu hata çıkıyor daha önce böyle bir hata ile karşılaşan varmı ?

    class="home page-template-default page page-id-57 logged-in admin-bar no-customize-support theme-woodmart woocommerce-no-js wrapper-full-width form-style-square form-border-width-1 categories-accordion-on woodmart-ajax-shop-on offcanvas-sidebar-mobile offcanvas-sidebar-tablet offcanvas-sidebar-desktop notifications-sticky btns-default-semi-rounded btns-default-dark btns-default-hover-dark btns-shop-3d btns-shop-light btns-shop-hover-light btns-accent-flat btns-accent-light btns-accent-hover-light wpb-js-composer js-comp-ver-6.0.5 vc_responsive">
    -----------------------------------------------------------------------
    Wp debug bilgileri
    Notice: Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /home/res84680304/public_html/abc.com/home/dir/wp-includes/functions.php on line 5831

    Notice: Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /home/res84680304/public_html/abc.com/home/dir/wp-includes/functions.php on line 5831
    class="home page-template-default page page-id-57 theme-woodmart woocommerce-no-js wrapper-full-width form-style-square form-border-width-1 categories-accordion-on woodmart-ajax-shop-on offcanvas-sidebar-mobile offcanvas-sidebar-tablet offcanvas-sidebar-desktop notifications-sticky btns-default-semi-rounded btns-default-dark btns-default-hover-dark btns-shop-3d btns-shop-light btns-shop-hover-light btns-accent-flat btns-accent-light btns-accent-hover-light wpb-js-composer js-comp-ver-6.0.5 vc_responsive">

    Hatanın satır kodları.

    if ( WP_DEBUG && apply_filters( 'doing_it_wrong_trigger_error', true, $function, $message, $version ) ) {
    if ( function_exists( '__' ) ) {
    if ( $version ) {
    /* translators: %s: Version number. */
    $version = sprintf( __( '(This message was added in version %s.)' ), $version );
    }

    $message .= ' ' . sprintf(
    /* translators: %s: Documentation URL. */
    __( 'Please see <a href="%s">Debugging in WordPress</a> for more information.' ),
    __( 'https://wordpress.org/support/article/debugging-in-wordpress/' )
    );

    trigger_error(
    sprintf(
    /* translators: Developer debugging message. 1: PHP function name, 2: Explanatory message, 3: WordPress version number. */
    __( 'Function %1$s was called <strong>incorrectly</strong>. %2$s %3$s' ),
    $function,
    $message,
    $version
    ),
    E_USER_NOTICE
    );
    } else {
    if ( $version ) {
    $version = sprintf( '(This message was added in version %s.)', $version );
    }

    $message .= sprintf(
    ' Please see <a href="%s">Debugging in WordPress</a> for more information.',
    'https://wordpress.org/support/article/debugging-in-wordpress/'
    );
  • smm panel
  • 16-08-2022, 23:12:16
    #2
    Bunlar önemli bir hata değil, sadece notice. Notice, warning, error farklarını araştırın.
  • 17-08-2022, 14:23:21
    #3
    Empat adlı üyeden alıntı: mesajı görüntüle
    Bunlar önemli bir hata değil, sadece notice. Notice, warning, error farklarını araştırın.
    Ama anasayfada görünüyor bunu kapatmanın bir yolu varmı ?
  • 17-08-2022, 15:03:47
    #4
    planzero adlı üyeden alıntı: mesajı görüntüle
    Ama anasayfada görünüyor bunu kapatmanın bir yolu varmı ?
    WP_DEBUG'u false yapın
  • 17-08-2022, 15:51:20
    #5
    Empat adlı üyeden alıntı: mesajı görüntüle
    WP_DEBUG'u false yapın
    Bunu denemiştim ancak işlemedi