You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Putting this issue here, more to let people know who might have similar problem, not really related to this library, just that when phpinfo is called but phpinfo crashes for some reason it can cause issue.
Trying to use phpseclib from a Magento 2 cron.
When I remove the @ in front of phpinfo call I see.
Recoverable Error: Object of class Magento\Framework\Profiler\Driver\Standard\Stat could not be converted to string```
When running with the @ the last line I see output is to do with MAGE_PROFILER_STAT
$_SERVER['MAGE_PROFILER_STAT'] => #
Work around could set MAGE_PROFILER_STAT to null
```$_SERVER['MAGE_PROFILER_STAT'] = null;```
Disabling Mirasvit Profiler module from Magento 2 did not appear to fix this.
bin/magento module:disable Mirasvit_Profiler
Removing it entirely did.
composer remove mirasvit/module-profiler
Related https://github.com/mirasvit/module-profiler/issues/43
The text was updated successfully, but these errors were encountered:
Putting this issue here, more to let people know who might have similar problem, not really related to this library, just that when phpinfo is called but phpinfo crashes for some reason it can cause issue.
Trying to use phpseclib from a Magento 2 cron.
When I remove the @ in front of phpinfo call I see.
$_SERVER['MAGE_PROFILER_STAT'] => #
bin/magento module:disable Mirasvit_Profiler
composer remove mirasvit/module-profiler
The text was updated successfully, but these errors were encountered: