Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined index: footer #21

Closed
amostajo opened this issue Apr 24, 2020 · 0 comments
Closed

Undefined index: footer #21

amostajo opened this issue Apr 24, 2020 · 0 comments
Labels
Milestone

Comments

@amostajo
Copy link

Whoops\Exception\ErrorException
/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/ecommerce/vendor/10quality/wpmvc-core/src/psr4/Bridge.php876

                   $this->add_asset(
                        $asset['asset'],
                        array_key_exists( 'enqueue', $asset ) ? $asset['enqueue'] : true,
                        $asset['dep'],
                        $asset['footer'],
                        array_key_exists( 'is_admin', $asset ) ? $asset['is_admin'] : false,
                        array_key_exists( 'version', $asset ) ? $asset['version'] : null,
                        array_key_exists( 'id', $asset ) ? $asset['id'] : null
                    );

array_key_exists should always be used. Default dep to [] and default footer to false.

@amostajo amostajo added the bug label Apr 24, 2020
@amostajo amostajo added this to the v3.1.12 milestone Apr 27, 2020
amostajo added a commit that referenced this issue Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant