hmm, this might be a theme issue since am getting this error
Uncaught TypeError: Property '$' of object [object Object] is not a function
And I notice that you are also loading another version of jquery version 1.7.1
Thread Starter
Beee
(@beee)
Where do you find this error ?
I just checked the site by using this code:
if ( current_user_can('manage_options') ) { error_reporting(E_ALL); }
but only thing I saw was an undefined offset, caused by my own plugin tinynav.
Also I can’t find 2 jqueries in my source code either…
you can find the error using chrome Inspect Elements then click on console tab; also, you can check your theme header.php or functions.php to check where it loads the google-apis jquery v1.7.1
also, did you edited template file at forms/event-editor.php which might cause the issue?
Thread Starter
Beee
(@beee)
I am using chrome but I can’t replicate your error.
I checked header.php and functions.php. No jquery calls there.
I did edit event-editor.php but if I remove it from my theme directory, nothing changes (as in the button is still gone).
I switched back to twentytwelve (or thirteen) but this doesn’t solve the issue either…
Have you made mods anywhere else? if so, try disabling those.
Another thing to try is your other plugins. Assuming you’re not overriding template files, something else must be going through your HTML output and ‘formatting’ it badly.
It’s not a JS error because I see the problem when viewing your source code.
Thread Starter
Beee
(@beee)
what problem do you see ?
yeah I made several mods (to several template files)
the problem i see is that the input field html has no ‘type’ attribute.
our template has that, so it must be either an override or another plugin changing your output
Thread Starter
Beee
(@beee)
weird since I didn’t overwrite that template with anything in my theme directory.
so I have to start deactivating plugins then 😉
to be continued…
Thread Starter
Beee
(@beee)
I have found the plugin causing the problem. It’s Lightbox Plus Colorbox -> http://wordpress.org/plugins/lightbox-plus/
When I deactivate Lightbox, the browse button is back.
I submitted a post in the support forum for Lightbox Plus -> http://wordpress.org/support/topic/upload-image-button-is-an-input-field?replies=9
In the meanwhile, does anyone know a good lightbox plugin ?
Thread Starter
Beee
(@beee)
thanks for the link but most links were outdated or plugins were discontinued.
I’ve tested quite a few lightbox plugins now but some don’t look nice or just don’t work. Now I’m using http://wordpress.org/plugins/simple-lightbox/ which seems to do the trick just nicely and doesn’t clash with events-manager.