Welcome, Guest. Please login or register.

Author Topic: Problema Wordpress  (Read 1059 times)

0 Members and 1 Guest are viewing this topic.

Offline nickalls

  • Eu nu sufar de nebunie, eu ma bucur de ea in fiecare zi!
  • Hero Member
  • *****
  • Posts: 823
  • Reputation: +64/-37
  • Gender: Male
    • View Profile
    • Romanian Photo
Problema Wordpress
« on: March 05, 2016, 09:06:20 PM »
Am o problema cand dau click pe titlul site-ului imi apare aceasta eroare : http://parfumurioriginale.info/Warning:%20%20sprintf():%20Argument%20number%20must%20be%20greater%20than%20zero%20in%20/home/u845103394/public_html/wp-includes/general-template.php%20on%20line%20638http:/parfumurioriginale.info/


ok am cautat in general template dar nu imi dau seama unde este problema.

ArenaWeb

Problema Wordpress
« on: March 05, 2016, 09:06:20 PM »

Offline gogule

  • Hostimm.com
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6270
  • Reputation: +1006/-306
  • Gender: Male
  • Daca iti este lene, atunci plateste.
    • View Profile
    • Immdomain
Re: Problema Wordpress
« Reply #1 on: March 05, 2016, 09:22:54 PM »
E posibil sa fie de la thema sau un plugin ceva.



Mergi in header.php si editeaza linia care o vezi mai sus, apoi save. Sau rescrie fisierul header.php cu cel original.

Offline nickalls

  • Eu nu sufar de nebunie, eu ma bucur de ea in fiecare zi!
  • Hero Member
  • *****
  • Posts: 823
  • Reputation: +64/-37
  • Gender: Male
    • View Profile
    • Romanian Photo
Re: Problema Wordpress
« Reply #2 on: March 06, 2016, 08:34:03 AM »
am rescris fisierul header.php


La fel nu functioneaza

Offline Condei Tudorel

  • Newbie
  • *
  • Posts: 25
  • Reputation: +0/-5
    • View Profile
Re: Problema Wordpress
« Reply #3 on: March 07, 2016, 07:02:26 AM »
Am o problema cand dau click pe titlul site-ului imi apare aceasta eroare : http://parfumurioriginale.info/Warning:%20%20sprintf():%20Argument%20number%20must%20be%20greater%20than%20zero%20in%20/home/u845103394/public_html/wp-includes/general-template.php%20on%20line%20638http:/parfumurioriginale.info/


ok am cautat in general template dar nu imi dau seama unde este problema.


In general-template.php pe linia 638 o sa gasesti functia sprintf... la variabila cu care este accesata functia pui pe linia 637 ceva de genul "if ($variabila < 0) $variabila = 0;" si o sa functioneze

Offline nickalls

  • Eu nu sufar de nebunie, eu ma bucur de ea in fiecare zi!
  • Hero Member
  • *****
  • Posts: 823
  • Reputation: +64/-37
  • Gender: Male
    • View Profile
    • Romanian Photo
Re: Problema Wordpress
« Reply #4 on: March 17, 2016, 07:26:22 PM »
acolo am ceva de genul



function get_bloginfo( $show = '', $filter = 'raw' ) {
   switch( $show ) {
      case 'home' : // DEPRECATED
      case 'siteurl' : // DEPRECATED
         _deprecated_argument( __FUNCTION__, '2.2', sprintf(
            /* translators: 1: 'siteurl'/'home' argument, 2: bloginfo() function name, 3: 'url' argument */
            __( 'The %1$s option is deprecated for the family of %2$s functions. Use the %3$s option instead.' ),
            '<code>' . $show . '</code>',
            '<code>bloginfo()</code>',
            '<code>url</code>'