Skip to content

ErrorException: in_array() expects parameter 2 to be array, boolean given #1326

@paperscissors

Description

@paperscissors

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions