Support Forum

Forum showing twice on the page and uploaded media not enlarging, embedded video not showing, edit function not working.

19 Answers

New Answer

MP Mr Papa
Mr Papa
Member

hard to read that… we really wanted to see a couple lines of code around each one…

so…  if you see the following lines (anything close since winging it)

wp_deregister_script(‘jquery’);
wp_deregister_script(‘jquery-ui’);

you will want to comment them out in addition to the

wp_register_script(‘jquery’……
wp_register_script(‘jquery-ui…..

and instead just have

wp_enqueue_script(‘jquery’);
wp_enqueue_script(‘jquery-ui-core’);
wp_enqueue_script(‘jquery-ui-widget’);

GB Greggy Boone
Greggy Boone
Member

I was able to find all the files containing those strings that you posted above and I commented out those that you said to comment out but it’s still the same. For some reason it is still not working. it keeps on giving this error message:

 

Uncaught TypeError: Cannot call method ‘getTitleId’ of undefined

YS Yellow Swordfish
Yellow Swordfish
Member

mmm. Something nasty is going on somewhere.

Can you do a quick test for me. You have something installed probably called ‘Advanced Widgets’ and I assume this is a plugin. Can you briefly deactivate it? See if that helps?

GB Greggy Boone
Greggy Boone
Member

Yes! It was the Advanced Widget Plugin! -___-” Now I’d have to work with the developer of this plugin to make it compatible with simple-press.

 

Thanks again guys! 🙂

YS Yellow Swordfish
Yellow Swordfish
Member

Actually it is quite easy. He has put his own code in there which I believe is fine. But he has embedded at the bottom a complete copy of the jQuery UI library code. This is actually an outrageous thing to do under any circumstances.

So you could load that file into an editor (plain text editor) and just remove the jQuery UI code from the bottom.

Although a note to the author explaining what a bad idea this is wouldn’t go amiss!