Support

Home Forums Event Espresso Premium ERT Plugin?

ERT Plugin?

Posted: December 26, 2013 at 6:01 pm

Viewing 3 reply threads


jon bourgault

December 26, 2013 at 6:01 pm

I am using a plugin called ERT which creates tabs. Its not a big deal to change to another plugin except a lot of wasted time. They swear that Event Espresso is the issue with the plugin and gave me some code to show. I have no idea and am trying to tell if I can figure what plugin is causing the problem. Can you tell from the below if/where the problem may be?

SyntaxError: missing } after function body
tructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a
all.js? (line 28, col 60)
Invalid App Id: Must be a number or numeric string representing the application id.
all.js?#xfbml=1 (line 56)
The “fb-root” div has not been created, auto-creating
all.js?#xfbml=1 (line 56)
FB.getLoginStatus() called before calling FB.init().
all.js?#xfbml=1 (line 56)

FB.getLoginStatus() called before calling FB.init().
all.js?#xfbml=1 (line 56)
ReferenceError: _ga is not defined
twitterWidgets.onload = _ga.trackTwitter;
head_t…edin.js (line 8)
ReferenceError: jQuery is not defined
jQuery( document ).ready( function() {
simple…post.js (line 1)
ReferenceError: jQuery is not defined
…ures.bAutoWidth&&ea(e);e.bInitialised=true;i===false&&r(e)})}})(jQuery,window,do…
jquery….min.js (line 136)
ReferenceError: jQuery is not defined

…iApiIndex;$.fn.dataTableExt.iApiIndex=that._fnDataTablesApiIndex.call(that);if(d…
jquery….min.js (line 22)
ReferenceError: jQuery is not defined
jQuery(document).ready(function() {
event_espresso.js (line 2)
ReferenceError: jQuery is not defined

thanks for any suggestions,

J


Tony

  • Support Staff

December 27, 2013 at 1:54 am

Hi Jon,

What is the issue your are currently seeing?

I tried the ERT plugin on a site without EE installed and found JS errors.

There are a few errors above most of which are coming from all.js (likely part of the theme)

‘jQuery is not defined’ if jQuery is being en-queued on the site this could be caused by the syntax error from the errors above.

If all.js is a part of the theme I would start by contacting the theme author to have those issues resolved first.


Tony

  • Support Staff

December 27, 2013 at 4:15 am

Had a bit of a re-think and tested ERT with EE.

The EE editor does not load with the plugin activated.

ERT adds buttons to the editor which often cause issues, you can try installing Josh’s ‘compatability’ plugin to try and remove those buttons from EE pages.

https://github.com/joshfeck/remove-extra-editor-buttons


jon bourgault

December 27, 2013 at 5:39 am

Hi,

Yes that is the exact issue. The editor wont load. Of course the makers of ERT blamed it on EE. I got the compatibility plugin and works perfect! Thanks for the assistance. Greatly appreciated.


Tony

  • Support Staff

December 27, 2013 at 6:09 am

No problem, glad it fixed it 🙂

Just to note, the above concerning all.js still applies.

The site is throwing multiple JS errors currently. I would recommend looking into fixing these as they will likely cause issues further down the line.

Viewing 3 reply threads

The support post ‘ERT Plugin?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso