#231 Posted in ‘Route 66’

Latest post by Rod Martin on Tuesday, 11 September 2018 04:11 EEST

Rod Martin
this seems very random.

I can be working in an article and Route66 is working just fine. Change a meta keyword or the alt tag on an image, click save and it breaks it.

Here are the errors:

Uncaught TypeError: Cannot read property 'onChange' of undefined
    at Object.Route66Seo.addEvents (route66seo.js?1.5.0:75)
    at Object.Route66Seo.start (route66seo.js?1.5.0:61)
    at route66seo.js?1.5.0:225
route66seo.js?1.5.0:172 Uncaught TypeError: Cannot read property 'val' of undefined
    at Object.Route66Seo.getPaperText (route66seo.js?1.5.0:172)
    at Object.Route66Seo.analyze (route66seo.js?1.5.0:82)
    at HTMLInputElement.d (jquery.min.js?fec105600302e5ab612f05411e5ac939:2)
    at HTMLInputElement.dispatch (jquery.min.js?fec105600302e5ab612f05411e5ac939:3)
    at HTMLInputElement.r.handle (jquery.min.js?fec105600302e5ab612f05411e5ac939:3)


Latest version of everything - Chrome and Safari browser.

Perhaps it's an easy fix like #220. I would REALLY like to be able to recommend this in my Joomla! tutorials... thanks for your help!

Rod Martin

Rod Martin
ok... so it seems if I enter things in the following order - it works:

Meta description
Meta keywords (both under publishing)
THEN put the keyword in Route66 and hit tab or enter... the score is generated. I can then make tweaks to increase the score.

strange... but at least it's working :)

Lefteris Kavadas
Hi,

Can you please provide some more information? Are you using JCE or the standard TinyMCE editor? Also providing the core and extension versions would be very helpful.

Regards

Rod Martin
Hi Lefteris,

Yes to JCE Pro.
Core: 3.8.12
Route66 - 1.5. (just downloaded over the weekend)

Other "stuff".
Template is Helix ultimate from JoomShaper
Also have SP Page builder installed - but I'm not using it in articles.

As I mentioned in my follow-up - I think I have stumbled across a workflow that works...
Kind of curious.

Happy to provide a log in if you want to pursue it...
thanks!
Rod

Lefteris Kavadas
Route 66 tracks content changes in the editor.

The problem is that sometimes JCE takes long to finish it's setup and when Route 66 tries to add the event listener we have this error.

Unfortunately, JCE does not provide an event so we can know when the editor has finished it's setup and is ready for use. So we implemented this using a timeout. Right now it waits for 500ms after the page load.

You can try to increase that timeout. The code for this is located at lines 224 - 226 of the file /media/route66/js/route66seo.js . Setting the value from 500 to 1000 should solve the issue. If not, then we missed something and that's not what is causing the issue.

Please let me know if this works for you. Remember to clean your browser's cache ( or use a private window ) if you apply the changes I suggested.

Finally, note that there is already a similar issue when you change the category of the article. This issue has been resolved already and the fix will get included in the next update coming probably in a couple of days.

Regards

Rod Martin
Awesome! thanks - that did the trick.

This is a really great extension. Amazed I hadn't found it before...
and excellent support too!

thanks again - have a great one!

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review