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

BadMethodCallException when replacing an old file with new one with the same name #2393

Closed
shbchk opened this issue Sep 16, 2022 · 0 comments · Fixed by #2396
Closed

BadMethodCallException when replacing an old file with new one with the same name #2393

shbchk opened this issue Sep 16, 2022 · 0 comments · Fixed by #2396
Labels
Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on.

Comments

@shbchk
Copy link

shbchk commented Sep 16, 2022

EE 7.1.5, trying to replace file via "resolve conflict" dialog, getting this:

BadMethodCallException Caught
No such method getAbsolutePath.
ee/ExpressionEngine/Library/Mixin/Manager.php:144

Stack Trace: Please include when reporting this error
#0 ee/ExpressionEngine/Library/Mixin/Manager.php(114): ExpressionEngine\Library\Mixin\Manager->runMixins('getAbsolutePath', Array)
#1 ee/ExpressionEngine/Library/Data/Entity.php(93): ExpressionEngine\Library\Mixin\Manager->call('getAbsolutePath', Array)
#2 ee/ExpressionEngine/Service/Model/Model.php(156): ExpressionEngine\Library\Data\Entity->__call('getAbsolutePath', Array)
#3 ee/ExpressionEngine/Model/File/FileDimension.php(231): ExpressionEngine\Service\Model\Model->__call('getAbsolutePath', Array)
#4 ee/ExpressionEngine/Service/File/Upload.php(490): ExpressionEngine\Model\File\FileDimension->getAbsolutePath()
#5 ee/ExpressionEngine/Addons/filepicker/mcp.filepicker.php(426): ExpressionEngine\Service\File\Upload->resolveNameConflict('379')
#6 [internal function]: Filepicker_mcp->finishUpload('379')
#7 ee/ExpressionEngine/Controller/Addons/Addons.php(1513): call_user_func_array(Array, Array)
#8 ee/ExpressionEngine/Controller/Addons/Addons.php(801): ExpressionEngine\Controller\Addons\Addons->getModuleSettings('filepicker', 'finishUpload', Array)
#9 [internal function]: ExpressionEngine\Controller\Addons\Addons->settings('filepicker', 'finish-upload', '379')
#10 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array(Array, Array)
#11 ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController(Array)
#12 ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))
#13 www/kafkakafka.php(139): require_once('...')
#13 www/kafkakafka.php(139): require_once('...')
@intoeetive intoeetive added the Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on. label Sep 19, 2022
intoeetive added a commit that referenced this issue Sep 19, 2022
intoeetive added a commit that referenced this issue Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on.
Projects
None yet
2 participants