craftcms / element-api

Create a JSON API/Feed for your elements in Craft.
MIT License
498 stars 56 forks source link

500 errors after upgrade to Craft 3.7.47.1 and plugin 2.8.6 #169

Closed joomkit closed 2 years ago

joomkit commented 2 years ago

Description

UPgrade craft

Steps to reproduce

  1. Upgrade Craft from CLI
  2. Call endpoint = 500 error

Additional info

joomkit commented 2 years ago

Closing this as it seems linked to a local Laravel valet issue

jorisnoo commented 1 year ago

I also experience this issue with the latest 2.8.6 update, unfortunately not only locally but on the server as well.

[error][craft\elementapi\controllers\DefaultController::actionIndex] Error resolving Element API endpoint: Setting unknown property: craft\elementapi\DataEvent::payload
2022-07-12 17:39:56 [-][-][-][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Setting unknown property: craft\elementapi\DataEvent::payload in /vendor/yiisoft/yii2/base/BaseObject.php:163
yingban commented 1 year ago

same here. Did you guys solve it? why is it closed?

joomkit commented 1 year ago

I closed it because it seems more related to my local dev environment running on Laravel valet. I downgrade the plugin and composer and blitzed the vendor directory a couple of times but cant really say what specifically made it work, but I was having some issues after installing some other software. hth

joomkit commented 1 year ago

ps re open a new bug if need be :)

iwe-hi commented 1 year ago

@yingban Reopened it again in #170 .