e107inc/e107

View on GitHub
e107_plugins/import/providers/blogger_import_class.php

Summary

Maintainability
A
0 mins
Test Coverage
F
1%

When fetching an array index from a value of type string, found an array index of type 'item', but expected the index to be of type int
Open

        foreach($array['channel']['item'] as $src)

Reference to undeclared property \blogger_import->action
Open

            $this->action = 'preview'; // changes default action to 'preview' method below. (for testing)

Variable $var was undeclared, but array fields are being added to it.
Open

        $var[0]['caption']    = "Blogger URL";

Argument 3 (checked) is string|string[] but \e_form::checkbox() takes bool|false defined at /code/e107_handlers/form_handler.php:2685
Open

        $var[1]['html']     = e107::getForm()->checkbox('bloggerCleanup',1, $_POST['bloggerCleanup']); // "<input class='tbox' type='checkbox' name='bloggerCleanup' value='1' />";

string passed to foreach instead of array
Open

        foreach($array['channel']['item'] as $src)

When fetching an array index from a value of type false|string, found an array index of type 'channel', but expected the index to be of type int
Open

        foreach($array['channel']['item'] as $src)

There are no issues that match your filters.

Category
Status