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

Error when changing Image in article #33

Closed
Tantacula opened this issue Jun 11, 2015 · 0 comments
Closed

Error when changing Image in article #33

Tantacula opened this issue Jun 11, 2015 · 0 comments

Comments

@Tantacula
Copy link
Contributor

There's error in Pingpong/admin/presenters/article.php when try to access '$this->resource' object. You can locate it if try to edit article and change image. I suppose this is error of presenter package, but I use pingpong admin, so I write this error here.

ErrorException in Article.php line 10:
Trying to get property of non-object
in Article.php line 10
at HandleExceptions->handleError('8', 'Trying to get property of non-object', 'D:\OpenServer\domains\pingadmin.ru\vendor\pingpong\admin\src\Pingpong\Admin\Presenters\Article.php', '10', array()) in Article.php line 10
at Article->image_path()
at call_user_func(array(object(Article), 'image_path')) in Presenter.php line 44
at Presenter->__get('image_path') in Article.php line 127
at Article->deleteImage() in ArticlesController.php line 162
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