• Resolved Laygen

    (@laygen)


    Hi,

    To inform you, i get “Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in C:\wamp64\www\wordpress\wp-content\plugins\mainwp-child\mainwp-child.php on line 39”.

    PHP 7.2.4
    WordPress: 4.9.5

    • This topic was modified 6 years, 7 months ago by Laygen.
Viewing 1 replies (of 1 total)
  • Plugin Support Bogdan Rapaic

    (@bogdanrapaic)

    @laygen, thanks for reaching us.

    If you check the Child Plugin code, you will be able to see that the spl_autoload_register() function will always be executed before __autoload(). Only if spl_autoload_register() is not available, MainWP Child will use __autoload() as a fallback.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 7.2.4 depreacted _autoload()’ is closed to new replies.