Jump to content

Problema Argument General -Template Wordpress


Go to solution Solved by Ove,

Recommended Posts

Posted

Salutare,am si eu o problema..Am un blog wordpress si mi se tot incarca error_logul..

[02-Jun-2015 14:13:28 UTC] PHP Warning:  sprintf(): Argument number must be greater than zero in /home3/site/public_html/wp-includes/general-template.php on line 618

Am verificat general_template.php si apare la linia corespunzatoare 

) );

Aveti vreo idee de rezolvare ?

Cred ca e de la tema...

 

 

 

Posted

UP! 

Uitati ce apare in error_log

PHP Warning:  sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Argument number must be greater than zero in /home/ovehdbiz/public_html/wp-includes/general-template.php on line 618

 

 

 

  • 4 weeks later...
  • 6 months later...
Posted

Pentru cei care aveti problema asta inca, in wp-includes/general-template.php pe linia 631 aveti urmtoarea linie:

_deprecated_argument( __FUNCTION__, '2.2', sprintf(                __( '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>'            ) );

In cazul in care ati actualizat wordpress-ul la ultima versiune, aceasta bucata de cod este deprecated si trebuie comentata banuiesc ca au uitat sa o comenteze cei de la wordpress. Spor!

  • Upvote 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.