Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug in Web.php at row 312 #3

@antoniogweb

Description

@antoniogweb

Hi,
in the file Web.php, at row 312, there is this code:

if (($Try = $this->ClientL10N->getString($Pull)) !== '') {

That gives this error when you try to upload a test virus (xxx is path to vendor folder):

"Fatal error: Uncaught Error: Call to a member function getString() on null in /xxxx/vendor/phpmussel/web/src/Web.php:312 Stack trace: #0"

I think you have forgotten the Loader, so maybe it should be (in this way it works):

if (($Try = $this->Loader->ClientL10N->getString($Pull)) !== '') {

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingFixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions