Extension

Developer
Supported

Snaptcha

ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

Uncaught TypeError when guest visits forum viewthread page

Bug (Resolved)

tansel
tansel

Hi,

I understand that snaptcha integrates into the forum module by (1) checking the form declaration id’d/named submit_post OR (2) if current page is the thread viewing page.

When a guest (not logged in user) visits the viewthread page, embedded snaptcha script results in javascript error as there is not form declared in my viewthread pages with id’ed/named as submit_post.

The error is:
Uncaught TypeError: Cannot read property ‘appendChild’ of null ... at window.onload error.

Is there a way to fix this?

PutYourLightsOn
# 1
Developer
PutYourLightsOn

Fixed in version 2.0.3.

tansel
# 2
tansel

Thank you very much.

PutYourLightsOn
# 3
Developer
PutYourLightsOn

Sure thing.