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

ErrorException: Invalid argument supplied for foreach() #1325

Open
paperscissors opened this issue Jan 2, 2019 · 0 comments
Open

ErrorException: Invalid argument supplied for foreach() #1325

paperscissors opened this issue Jan 2, 2019 · 0 comments
Assignees

Comments

@paperscissors
Copy link
Contributor

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)
@paperscissors paperscissors self-assigned this Jan 2, 2019
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

1 participant