• Resolved jansudek

    (@jansudek)


    Hello, I have some error in debug.log :

    Strict warning Extendify\MetaGallery\AdminRouter and Extendify\MetaGallery\Traits\Routable define the same property ($instance) in the composition of Extendify\MetaGallery\AdminRouter. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in file /wp-content/plugins/ml-slider/metagallery/app/AdminRouter.php on line 382

    PHP 5.6.40 (have error only on PHP 5.6)
    WP 5.6.1
    MetaSlider 3.20.1 (but it start in 3.20.0)

    Thanks for fix it ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Thanks for reporting. Is it causing any issues or just a warning?

    If only a warning, PHP 5.6 is too old to worry about supporting warning messages that don’t break anything.

    FWIW 5.6 reached its end of life in 2019 so you’d be better off updating: https://www.php.net/supported-versions.php

    I’ll make a note to see if there’s an easy improvement to be made though.

    Thread Starter jansudek

    (@jansudek)

    I think its only warning but nobody knows

    // I know that PHP is old, but 11.3 % wordpress websites still working on it.. sometimes is difficult on shared hosting change all old projects..

    thanks for support ??

    If that part of the code were breaking you would know by clicking on “Gallery” in the menu under MetaSlider. Can you give that a try? If it’s breaking something, I’ll fix it first thing tomorrow. Otherwise it’s probably not worth it since it’s just a warning.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Strict warning X and Y define the same property ($instance) in the composition..’ is closed to new replies.