error when creating an array object of class stdclass could not be converted to a string

You’re casting two variable to string:

  • $productId
  • $p->monthlyFee

One of them is an object. You can’t cast object to string this way. You should try to dump both variables to see which one is the cause of the problem.

Happy new year !

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top