Skip to content

PHP warning caused by duplicate property definition #140

@gyula-szabo

Description

@gyula-szabo

Hello there!

The latest version of yii2-krajee-base breaks the file input widget under PHP 5.6.

Steps to reproduce the issue

  1. Update yii2-krajee-base to latest release
  2. Try to use the file input widget under PHP 5.6 with strict warnings enabled

Expected behavior and actual behavior

Following the steps above, this warning is thrown:
file_input_warning

This is not the case using at least PHP 7.0, or even disabling strict warnings, but there can be (and there are, in fact) hosts where we cannot turn off the warnings even if we want to, so it would still be great to fix this.

Environment

Libraries

  • yii2-krajee-base version: 1.9.4
  • yii2-widget-fileinput version: 1.0.6

It seems to me that this needs to be fixed in this extension, and not in yii2-krajee-base, I hope I am correct in opening the issue here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions