aryehraber / statamic-captcha

Statamic Addon that protects your Statamic forms using a Captcha service.
MIT License
11 stars 8 forks source link

It doesn't support PHP 8.0 #37

Closed kofyebs closed 2 years ago

kofyebs commented 2 years ago

I tried using it in PHP 8.0 but it didn't work but i switched to PHP 7.4 it worked.

aryehraber commented 2 years ago

Hi @kofyebs, we've been using Captcha on PHP 8.0 servers for over a year now so it should definitely work.

Can you please share:

kofyebs commented 2 years ago

I'm using the current version of the addon and the current version of statamic

Screenshot_20220406-130301.jpg

This is the error I've been getting when i switch to PHP 8.

Screenshot_20220406-125123.jpg

Thanks

aryehraber commented 2 years ago

I see the issue; the form name must be a string, so change your forms value to ['contact_us']

kofyebs commented 2 years ago

I see the issue; the form name must be a string, so change your forms value to ['contact_us']

Fixed... Thanks.

Please are you open for custom Add-on?

aryehraber commented 2 years ago

Great to hear, glad it is fixed!

No, I'm afraid I'm not available for custom addon development, but you can take a look at the Statamic Partners: https://statamic.com/partners -- I'm sure they'd be happy to help you out!