ContextErrorException
Warning: file_put_contents(/var/www/vhosts/.../modules/eicaptcha/src/logs/debug.log): failed to open stream: No such file or directory in Debugger.php line 342
I think :
dirname(FILE) . '/logs/debug.log',
should be replaced by :
_PS_MODULEDIR . $this->module->name . '/logs/debug.log',
Check if your issue exists
Your prestashop version
1.7.7.x
Eicaptcha version
2.4.x
Do you use a specific theme ?
Customized PRS006 theme from ThemeDelights
Describe the bug
ContextErrorException Warning: file_put_contents(/var/www/vhosts/.../modules/eicaptcha/src/logs/debug.log): failed to open stream: No such file or directory in Debugger.php line 342
I think : dirname(FILE) . '/logs/debug.log',
should be replaced by : _PS_MODULEDIR . $this->module->name . '/logs/debug.log',
Screenshots
No response
Additional context
No response