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

Plugin crashes due to lack of DataFileModel class definition on latest October version #63

Open
erocketa opened this issue Sep 2, 2021 · 1 comment
Labels

Comments

@erocketa
Copy link

erocketa commented Sep 2, 2021

Hello,
plugin doesnt work on latest October version

After plugin activation, any attempt to view front site leads to an Exception
Symfony\Component\Debug\Exception\FatalErrorException

We're sorry, but an unhandled error occurred. Please see the details below.
E:\Install\dev\wamp\www\octobersite\plugins\lovata\buddies\models\User.php line 68
~/vendor/october/rain/src/Foundation/Application.php

  • @method static \October\Rain\Database\Relations\HasMany|\Lovata\OrdersShopaholic\Models\UserAddress address()
  • @Property \Lovata\OrdersShopaholic\Classes\Collection\UserAddressCollection|\Lovata\OrdersShopaholic\Classes\Item\UserAddressItem[] $addr
    */
    class User extends UserModel
    {
    use SoftDelete;
    use DataFileModel;

property DataFileModel is undefined

It looks like, there is no class definition for DataFileModel in plugin code

Is there any way to fix this?

Many thanks,
Vlad

@lautsevich lautsevich added the bug label Sep 7, 2021
@erocketa
Copy link
Author

Trait 'Kharanenka\Helper\DataFileModel' not found
www\octobersite\plugins\lovata\buddies\models\User.php line 68
there is no namespace or Kharanenka in plugin codebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants