Foil icon indicating copy to clipboard operation
Foil copied to clipboard

Post calls not working on PHP 7.1

Open midhunraj opened this issue 5 years ago • 3 comments

I Get 404 not found error when calling post functions as below

PHP Deprecated: Non-static method ------ should not be called statically

Did this packages work on PHP 7.1

Did any updates to overcome the issue?

midhunraj avatar Oct 08 '19 09:10 midhunraj

Thanks for reporting @midhunraj can you describe a bit better what you're doing? I'm not sure I understand.

gmazzap avatar Oct 08 '19 17:10 gmazzap

Thanks for the quick response.

When submitting a form with normal post method, I got an error as 404 - not found even the route extits.

When I checked the error log got an error message as

[08-Oct-2019 09:06:13 UTC] PHP Deprecated:  Non-static method App\Admin\Login::route() should not be called statically in /home/ivendqatar/public_html/admin/vendor/foil/foil/src/Engine.php on line 130
[08-Oct-2019 09:06:13 UTC] PHP Deprecated:  Non-static method App\Admin\Login::route() should not be called statically in /home/ivendqatar/public_html/admin/vendor/foil/foil/src/Providers/Kernel.php on line 82

Now the PHP version is 7.1, Could you help me to sort this out?

midhunraj avatar Oct 09 '19 06:10 midhunraj

Hello..

Is there any updates on this?

midhunraj avatar Oct 14 '19 13:10 midhunraj