Bug #23196 Fix is in Upcoming Release

unable to edit members template from Control Panel

Version: 3.5.10 Reporter: bobural

Hello,

I am having a bug and I do not know the cause of this. I go to www.mywwebsite.ro/admin.php -> Developer -> Template Manager -> System Templates -> Members and try to edit any template. I get the following error:

Fatal error: Uncaught Error: Call to undefined function EllisLab\ExpressionEngine\Controller\Design\write_file() in /var/www/am-ma.ro/system/ee/EllisLab/ExpressionEngine/Controller/Design/Members.php:225 Stack trace: #0 [internal function]: EllisLab\ExpressionEngine\Controller\Design\Members->edit(‘default’, ‘edit_profile_fo…’) #1 /var/www/am-ma.ro/system/ee/EllisLab/ExpressionEngine/Core/Core.php(189): call_user_func_array(Array, Array) #2 /var/www/am-ma.ro/system/ee/EllisLab/ExpressionEngine/Core/Core.php(94): EllisLab\ExpressionEngine\Core\Core->runController(Array) #3 /var/www/am-ma.ro/system/ee/EllisLab/ExpressionEngine/Boot/boot.php(151): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request)) #4 /var/www/am-ma.ro/automoto.ro/public_html/admin.php(143): require_once(‘/var/www/am-ma….’) #5 {main} thrown in /var/www/am-ma.ro/system/ee/EllisLab/ExpressionEngine/Controller/Design/Members.php on line 225

I had a look at line 225 at Members.php file but I do not understand much. I am editing the default template and I was able to do that before until today. I removed users and recreated users and groups. Could this be related?

Can you please advice? Best regards, Bogdan

  • I can reproduce this. If I go to Settings -> Debugging & Output and put Caching Driver to Disable Caching I get the above error.

    I am not using any caching method on the server

    Thank you and sorry If this has been reported before.

    bobural
    06th August, 2017 at 7:37pm
  • I can indeed replicate when the cache is set to use the dummy driver.

    We’ve got a fix in for the next release. You can apply the patch file included here or just leave caching set to use a driver. It won’t actually cache anything unless you set it to do so, so leaving it set to ‘file’ shouldn’t alter anything.

    If you have any trouble with the patch, just let me know.

    Robin Sowell
    07th August, 2017 at 10:25am
  • Thank you very much. I will wait for the next release.

    I am glad I could help. If I cache something a new bug or something I will let you guys know.

    Thank you, Bogdan.

    bobural
    07th August, 2017 at 12:42pm

You must be signed in to comment on a bug report.

  • This happens when the cache driver is set to use the dummy driver. You can either set it to use file (for example) or backup and replace the following file with the attached patch: system/ee/legacy/libraries/Core.php

ExpressionEngine News

#eecms, #events, #releases