WPIntell

Source evidence

Fatal WP error on login

IP Based Login · support · 2023-04-18T10:16:00+00:00

mixedsentiment
highseverity
0.95relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 25 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
TimSmiT resolved
I have been using the plugin for a while but visitors are experioencing a fatal error message since two weeks ago. The message I am getting fddrom WP is “An error of type E_ERROR was caused in line 288 of the file /wp-content/plugins/ip-based-login/init.php. Error message: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /wp-content/plugins/ip-based-login/init.php:288”. Any kind of solution for this problem? Hi, Sorry for the inconvenience caused. I have just released v2.3.4 which should resolve the issue. Can you please upgrade to the latest version of the plugin and check if you are still facing the issue let us know. Hi, Thnx for the quick response! Still not working. The solution I found works for me though. I just added on additional reuirement in line 288 off the init.php. [quote] if(is_object($wpsec->alerts) && method_exists($wpsec->alerts, ‘register_group’)){ [unquote] Maybe this will never invoke the WAS but that is better then blocking access. By the way: the error was not showing on another site of mine. So maybe it has something to do with the plugin settings of the Shield Security plugin?! Thank you for sharing the solution. We will release a new version with the fix soon. Yes it seems there is some other plugin that is conflicting because we have not received anyone else reporting this issue. I am also not able to replicate this issue on my test server. We just released v2.3.5 with this fix. Please upgrade to 2.3.5 and let us know if you still face the issue. Thank you for reporting the issue.

Comments

4 shown
brijeshk89 2023-04-18T10:42:00+00:00

Hi, Sorry for the inconvenience caused. I have just released v2.3.4 which should resolve the issue. Can you please upgrade to the latest version of the plugin and check if you are still facing the issue let us know.

TimSmiT 2023-04-18T12:10:00+00:00

Hi, Thnx for the quick response! Still not working. The solution I found works for me though. I just added on additional reuirement in line 288 off the init.php. [quote] if(is_object($wpsec->alerts) && method_exists($wpsec->alerts, ‘register_group’)){ [unquote] Maybe this will never invoke the WAS but that is better then blocking access. By the way: the error was not showing on another site of mine. So maybe it has something to do with the plugin settings of the Shield Security plugin?!

brijeshk89 2023-04-18T13:10:00+00:00

Thank you for sharing the solution. We will release a new version with the fix soon. Yes it seems there is some other plugin that is conflicting because we have not received anyone else reporting this issue. I am also not able to replicate this issue on my test server.

brijeshk89 2023-04-22T08:48:00+00:00

We just released v2.3.5 with this fix. Please upgrade to 2.3.5 and let us know if you still face the issue. Thank you for reporting the issue.