Title: PHP Warning
Last modified: November 9, 2022

---

# PHP Warning

 *  Resolved [Dumel](https://wordpress.org/support/users/dumel/)
 * (@dumel)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-warning-382/)
 * You may want to check the following warning I see in the backend of randpark.
   co.za:
 * Warning: foreach() argument must be of type array|object, string given in /usr/
   www/users/randpqxmre/wp-content/plugins/really-simple-ssl/class-admin.php on 
   line 2755. I saw this even with the latest version 6.0.8.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-warning-382/#post-16180823)
 * Hi [@dumel](https://wordpress.org/support/users/dumel/),
 * Thanks for reporting the issue. I have checked the code, but on the line you 
   mentioned there is no foreach:
 * [https://plugins.trac.wordpress.org/browser/really-simple-ssl/trunk/class-admin.php#L2755](https://plugins.trac.wordpress.org/browser/really-simple-ssl/trunk/class-admin.php#L2755)
 * Can you check if the line number has changed since 6.0.8? If so, please post 
   the line number, so I can check it, and adjust that line. It’s probably a PHP
   8 compatibility warning.
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-warning-382/#post-16188451)
 * [@dumel](https://wordpress.org/support/users/dumel/) As I can’t reproduce the
   issue, I’ll need an updated line number. Without it I can’t track it down at 
   the moment. Would be great if you can provide it, then we can look at it.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/php-warning-382/#post-16188451)
 * Status: resolved