815 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Contributed a free file of the month
+3 more
rvision_ says

I am having serious trouble with widgets in the backend:

when I drag’n’drop a widget onto a dynamic sidebar, the widget collapses and only ‘delete’,’close’ and ‘save’ buttons are visible. All form fields are hidden. When I save those “invisible options’, widget expands and displays all form fields correctly.

This happens only on my theme, when I switch the theme, widgets work correctly.

I tried to comment-out most code from functions.php and theme files (hooks/filters/etc.), but widget behaviour in the backend is the same.

Did anyone had this kind of problem?

4335 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+10 more
Reaper-Media says

My first step would be to try using Firebug of chrome developer tools to see the network activity when this happens and see if any php errors are being returned :-)

815 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Contributed a free file of the month
+3 more
rvision_ says

It’s not that: ajax is executed properly (200 OK). I believe this is front-end only problem (jquery), but can’t figure it out :(

4335 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+10 more
Reaper-Media says

It’s not that: ajax is executed properly (200 OK). I believe this is front-end only problem (jquery), but can’t figure it out :(

Have you got any widgets added with your theme code? :-)

815 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Contributed a free file of the month
+3 more
rvision_ says

Removed them (1 of them, to be precise) but still the same.

4335 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+10 more
Reaper-Media says

Removed them (1 of them, to be precise) but still the same.

ok, next step would be (if PHP is definately not returning any errors) to comment out all php files completely to see what happens. and i mean everything. :) Then gradually un-comment stuff.

815 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Contributed a free file of the month
+3 more
rvision_ says

Can’t believe this :) Fixed!

The functions.php had a block of commented PHP code – when I removed it, it worked normally :|

Reaper-Media thanks for your help anyway :)

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