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: in_array() expects parameter 2 to be array, boolean given #1326

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

Comments

@paperscissors
Copy link
Contributor

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

ErrorException: in_array() expects parameter 2 to be array, boolean given
  File "/var/www/cash_platform/framework/elements/Subscription/Subscription.php", line 48, in handleError
    if (in_array($plan_id, $this->element_data['plans']) && $authenticated) {
  File "/var/www/cash_platform/vendor/sentry/sentry/lib/Raven/ErrorHandler.php", line 0, in in_array
    Raven_ErrorHandler->handleError
  File "/var/www/cash_platform/framework/elements/Subscription/Subscription.php", line 48, in getData
    if (in_array($plan_id, $this->element_data['plans']) && $authenticated) {
  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();
...
(7 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