Title: PHP Warning in Error Log
Last modified: July 14, 2023

---

# PHP Warning in Error Log

 *  Resolved [lauracct](https://wordpress.org/support/users/lauracct/)
 * (@lauracct)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-in-error-log-10/)
 * Hello,
 * First and foremost, thanks for creating such a great e-commerce plugin! I’m so
   glad that SureCart came along, your plugin definitely saved me from the headaches
   of having to install multiple plugins for ecommerce. And I’m excited about the
   additions for physical products.
 * But I do have a couple of issues currently that I can’t seem to solve on my own–
   one of which I will start a new topic (after this) because they don’t seem related.
 * The first issue I have is that I have been seeing these PHP warnings in my error
   log for at least 2 weeks. They look like these (“-” is the username that I’ve
   removed):
 * [14-Jul-2023 09:55:37 UTC] PHP Warning: Array to string conversion in /home/-/
   public_html/wp-content/plugins/surecart/app/src/Controllers/Rest/RestController.
   php on line 52
   [14-Jul-2023 09:56:00 UTC] PHP Warning: Array to string conversion
   in /home/-/public_html/wp-content/plugins/surecart/app/src/Controllers/Rest/RestController.
   php on line 129
 * Is this an error on my end? If so, what are the steps that I need to take the
   rectify these?
 * Thanks in advance!
 * Laura

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

 *  Plugin Author [Andre Gagnon](https://wordpress.org/support/users/2winfactor/)
 * (@2winfactor)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-in-error-log-10/#post-16895712)
 * Thanks for reporting! This is a developer warning, not an error. It’s a helpful
   message for developers to make sure things are working as expected. This particular
   issue does not affect functionality, so you can ignore it for now.
 * We will be pushing out a fix to address this warning, but for now, rest assured
   everything is working properly.
 * Any questions about this, let me know.
 *  Thread Starter [lauracct](https://wordpress.org/support/users/lauracct/)
 * (@lauracct)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-in-error-log-10/#post-16896563)
 * Ah, thanks for clarifying that! Good to hear that it’s already been noted and
   being addressed. I have no further questions so this can be marked resolved.
    -  This reply was modified 2 years, 10 months ago by [lauracct](https://wordpress.org/support/users/lauracct/).

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

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

 * ![](https://ps.w.org/surecart/assets/icon-256x256.gif?rev=3285224)
 * [SureCart - Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments](https://wordpress.org/plugins/surecart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/surecart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/surecart/)
 * [Active Topics](https://wordpress.org/support/plugin/surecart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/surecart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/surecart/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [lauracct](https://wordpress.org/support/users/lauracct/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-in-error-log-10/#post-16896563)
 * Status: resolved