We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

File Upload: New File upload gives serious sounding Notice error

Developer Preview

Hop Studios's avatar
Hop Studios
459 posts
7 years ago
Hop Studios's avatar Hop Studios

http://ee400.dev/admin.php?/cp/files/upload/6

Notice Trying to get property of non-object ee/EllisLab/ExpressionEngine/Service/File/Upload.php, line 117

Severity: E_NOTICE

(!) Fatal error: Call to a member function getId() on a non-object in /Applications/MAMP/EE400/system/ee/EllisLab/ExpressionEngine/Service/File/Upload.php on line 122
Call Stack
# Time Memory Function Location
1 0.0009 244536 {main}( ) .../admin.php:0
2 0.0013 266288 require_once( '/Applications/MAMP/EE400/system/ee/EllisLab/ExpressionEngine/Boot/boot.php' ) .../admin.php:147
3 0.0170 1725208 EllisLab\ExpressionEngine\Core\Core->run( ) .../boot.php:146
4 0.0243 2413408 EllisLab\ExpressionEngine\Core\Core->runController( ) .../Core.php:109
5 0.1662 11930272 call_user_func_array:{/Applications/MAMP/EE400/system/ee/EllisLab/ExpressionEngine/Core/Core.php:229} ( ) .../Core.php:229
6 0.1662 11930608 EllisLab\ExpressionEngine\Controller\Files\Files->upload( ) .../Core.php:229
7 0.1901 12352088 EllisLab\ExpressionEngine\Service\File\Upload->getCategoryForm( ) .../Files.php:171
       
Derek Jones's avatar
Derek Jones
7,561 posts
7 years ago
Derek Jones's avatar Derek Jones

Confirmed, thanks Travis. For a temporary workaround, you can comment out $this->association->add($model); on line 47 of system/ee/EllisLab/ExpressionEngine/Service/Model/Collection.php

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.