101 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 3 years
+1 more
Zanzad says

I’m a little surprised with my WP 3 .31. Several months ago I installed WP 3 .31. When I switch wp_debug from (false) to (true), my theme shows some errors:

1. PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home2/XXX/public_html/XXX/demo/wp-includes/functions.php on line 3587

2. Trying to get property of non-object in /home2/XXX/public_html/XXX/demo/wp-includes/post-template.php on line 30

3. Warning: Cannot modify header information – headers already sent by (output started at /home/XXX/public_html/wp-includes/functions.php:3458) in /home/XXX/public_html/wp-includes/pluggable.php on line 866

Last night I downloaded new WP 3 .31 from this link http://wordpress.org/download. Then install it manually. I activated wp_debug. And strangely, all the error in my theme disappeared.

I do not want to believe I have clean theme yet.

In the latest wordpress 3.3.1 which I downloaded, there is a description “This maintenance release fixes 15 issues with WordPress 3.3, as well as a fix for a cross-site scripting vulnerability That affected version 3.3.”

Is there a bug in WP 3 .3.1 which I used before?

Anyone have any experience like this?

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by