📢 Moderators Needed 🚀

Moderators are needed with resources to post or have access to resources to post. Submit an application to be considered.
V

RSS XF::logError does not work in CLI

  • Thread starter Thread starter vbresults
  • Start date Start date
V

vbresults

Guest
Guest or Bot
It's expecting an IP that is not there during a CLI command run:

File: src/XF/Error.php:151
PHP:

$this->app->request()->getIp()

InvalidArgumentException: Invalid string IP: in */src/XF/Util/Ip.php:17
Stack trace:
#0 */src/XF/Error.php(151): XF\Util\Ip::stringToBinary('')
#1 */src/XF.php(261): XF\Error->logException(Object(ErrorException), false, '', true)
#2 /src/addons//XFRM/Job/*(24): XF::logException(Object(ErrorException), false, '', true)
#3...
Click to expand...

Read more

Continue reading...
 
Back
Top