cashmusic / platform

A free and open platform giving all musicians access to tools that let them manage, promote, and sell their music online.
https://cashmusic.org
Other
1.32k stars 266 forks source link

ErrorException: Invalid argument supplied for foreach() #1325

Open paperscissors opened 5 years ago

paperscissors commented 5 years ago

https://sentry.io/cash-music/cash-platform/issues/829223154/?referrer=github_plugin

ErrorException: Invalid argument supplied for foreach()
  File "/var/www/cash_platform/framework/elements/Subscription/Subscription.php", line 31, in handleError
    foreach ($this->element_data['plans'] as $plan) {
  File "/var/www/cash_platform/framework/elements/Subscription/Subscription.php", line 31, in getData
    foreach ($this->element_data['plans'] as $plan) {
  File "/var/www/cash_platform/framework/classes/core/ElementBase.php", line 149, in getMarkup
    $this->getData(); // call getData() first as it not only sets data but the correct template
  File "/var/www/cash_platform/framework/classes/plants/Element/ElementPlant.php", line 503, in getElementMarkup
    $markup = $element_object->getMarkup();
  File "/var/www/cash_platform/framework/classes/plants/Element/ElementPlant.php", line 0, in call_user_func_array
    CASHMusic\Plants\Element\ElementPlant->getElementMarkup
...
(6 additional frame(s) were not displayed)