arras-theme icon indicating copy to clipboard operation
arras-theme copied to clipboard

Arras WordPress Theme - capabilities.php on line 1067

Open jesyy opened this issue 11 years ago • 2 comments

Bonjour , J'ai une erreur avec ce theme sous wordpress 3.5.1 Au dessus de chaque articles j'ai ça ; Notice: Undefined offset: 0 in /public_html/newtest/wp-includes/capabilities.php on line 1067

Ce qui correspond à ca $post = get_post( $args[0] ); dans le compabilities.php.

Comment fixer cette erreur Svp !

jesyy avatar Mar 18 '13 21:03 jesyy

Salut, Je vais traduire en dessous pour ceux qui parlent pas anglais ;)

Translated message : " Hello,

I have an error on wordpress 3.5.1. On top of each articles I have this : Notice: Undefined offset: 0 in /public_html/newtest/wp-includes/capabilities.php on line 1067

That is related to this : $post = get_post( $args[0] ); in compatibilies.php.

How to fix this error ? "

On dirais que ton argument qui est censé recuperer l'id du post ne fonctionne pas. Quel genre de URL utilsie tu ? Quels plugins utilise tu ? Ce message s'affiche dans la partie admin (quand tu edit un post) ou sur la partie client ?

Note : si tu peux parler anglais, ca serais probablement plus facile, il y as des contributeurs francophone ,ais nombreux sont des anglos.

EDIT : Seems to be related to this issue : http://core.trac.wordpress.org/ticket/13905 (same error, probably not the same cause btw.) Enjoy,

Trouffman avatar Mar 18 '13 22:03 Trouffman

Bonsoir , alors je n'utilise aucun plugin , Url permalink %postname% L'erreur est visible pour tout le monde sur le site lui même au dessus de chaque articles.


No plugin used /%postname%/ used as permalink The error is public , its displayed above all post.

jesyy avatar Mar 18 '13 22:03 jesyy