814 posts
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Serbia
  • Has been a member for 5-6 years
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
  • Beta Tester
  • Bought between 10 and 49 items
  • Community Moderator
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
+6 more
Reaper-Media Volunteer moderator 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 :-)

814 posts
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Serbia
  • Has been a member for 5-6 years
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
  • Beta Tester
  • Bought between 10 and 49 items
  • Community Moderator
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
+6 more
Reaper-Media Volunteer moderator 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? :-)

814 posts
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Serbia
  • Has been a member for 5-6 years
rvision_ says

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

4335 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Community Moderator
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
+6 more
Reaper-Media Volunteer moderator 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.

814 posts
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Serbia
  • Has been a member for 5-6 years
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 :)

by
by
by
by
by
by