Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Error in Simple_Login.php: implode() Expects Array, String Given #1501

Open
006rodaal opened this issue Nov 15, 2024 · 13 comments
Open

Comments

@006rodaal
Copy link

Hello,

Since the new update from yesterday it's not possible to login anymore on the website. My logs show the following errors:
[15-Nov-2024 11:46:08 UTC] PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /home/[redacted-for-privacy-by-me]public_html/wp-content/plugins/wp-user-frontend/includes/Free/Simple_Login.php:514
Stack trace:
#0 /home/[redacted-for-privacy-by-me]public_html/wp-content/plugins/wp-user-frontend/includes/Free/Simple_Login.php(514): implode()
#1 /home/[redacted-for-privacy-by-me]public_html/wp-includes/class-wp-hook.php(324): WeDevs\Wpuf\Free\Simple_Login->process_login()
#2 /home/[redacted-for-privacy-by-me]public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /home/[redacted-for-privacy-by-me]public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /home/[redacted-for-privacy-by-me]public_html/wp-settings.php(704): do_action()
#5 /home/[redacted-for-privacy-by-me]public_html/wp-config.php(103): require_once('/home/deb145809...')
#6 /home/[redacted-for-privacy-by-me]public_html/wp-load.php(50): require_once('/home/deb145809...')
#7 /home/[redacted-for-privacy-by-me]public_html/wp-blog-header.php(13): require_once('/home/deb145809...')
#8 /home/[redacted-for-privacy-by-me]public_html/index.php(17): require('/home/deb145809...')
#9 {main}
thrown in /home/[redacted-for-privacy-by-me]public_html/wp-content/plugins/wp-user-frontend/includes/Free/Simple_Login.php on line 514

Could you please solve this? Thanks!

@006rodaal
Copy link
Author

@sapayth could you please provide a quickfix?

@gossdhosting
Copy link

Waiting for a fix!!

@006rodaal
Copy link
Author

@gossdhosting i downloaded the 4.0.12 and uploaded this via ftp. Disabled auto updates and now waiting for the fix to upgrade 😓

@rebelojose
Copy link

solution by smaggio

Same error. In Simple_Login.php on line 514 you try to concatenate an array when $errors is an empty string.
A temporary solution could be:

$errors = implode( ‘, ‘, $errors );
to
if ( is_array( $errors ) ) { $errors = implode( ‘, ‘, $errors ); }

@anik-fahmid
Copy link

anik-fahmid commented Nov 16, 2024

@006rodaal , @gossdhosting , and everyone following this thread,
Thank you for your patience, and we're sorry for any inconvenience this issue has caused. We (@sapayth) are actively working on a fix. Special thanks to @rebelojose for suggesting the temporary solution.

In the meantime, we recommend rolling back to version 4.0.12 to maintain stability until the next release. We’ll keep you updated on our progress!

@saifislam01 is from our support team and will guide you with further help needed.

Thank you all for your understanding.

@anik-fahmid
Copy link

anik-fahmid commented Nov 16, 2024

Hi @006rodaal, @gossdhosting, and @rebelojose,

To resolve this quickly, we'd like to investigate the problem directly on your sites.

Could you please create a support ticket using this link: Support Ticket URL.

Once we've identified the root cause, we'll promptly work on a fix.

I am looking forward to your response!

Best regards,
Fahmid from weDevs.

@006rodaal
Copy link
Author

@anik-fahmid unfortunately due to privacy reasons I can't provide you with the login to my website. I am willing to take the time and provide you with more logs if needed. Please let me know what you would require.

@gossdhosting
Copy link

The issue is still not resolved.

@006rodaal
Copy link
Author

@sapayth and @anik-fahmid we're still waiting for a solution. Rolling back to 4.0.12 seems the only solution for now... Could you provide us with an update?

@Anower16
Copy link

Hi all @rebelojose, @gossdhosting, @006rodaal, @jweisman,

We are looking into this issue and working on a fix. Please stay with us. We will let you know the update shortly. This is added to the priority list.

If you haven't contacted our technical support team please share your concern here. We might need your site access to apply the fix.

Contact: https://wedevs.com/contact/

Thanks and have a nice day.

@anik-fahmid
Copy link

Hello all!

@rebelojose, @gossdhosting, @006rodaal, @jweisman,

We've released a fix in the latest version of the plugin, which addresses the login error you experienced. Please update to the latest version, and it should resolve the problem.

We appreciate your patience and understanding!

@andymnc
Copy link

andymnc commented Nov 24, 2024

Hello all!

@rebelojose, @gossdhosting, @006rodaal, @jweisman,

We've released a fix in the latest version of the plugin, which addresses the login error you experienced. Please update to the latest version, and it should resolve the problem.

We appreciate your patience and understanding!

in my case, the 4.0.14 didn't solve the login problem introduced by the 4.0.13

@sapayth
Copy link
Member

sapayth commented Nov 24, 2024

Hello @andymnc,

We're sorry to hear about the issue you're experiencing. Kindly create a support ticket and provide your login credentials, so we can thoroughly investigate and resolve the problem on your site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants