Support » Theme: Elegant Magazine » PHP 7.2 deprecated code

  • Hi,

    Please be advised of the following deprecated code in the theme:

    FILE: elegant-magazine/functions.php
    WARNING | Function create_function() is deprecated since PHP 7.2;
    Use an anonymous function instead.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author AF themes


    Hello @malae,
    First off, sorry for the inconvenience. Since, the theme functions.php does not have that code in line 328, would you check and update with our latest version?
    Best regards

    My apologies, and thanks for your quick response.

    I was surprised and happy to hear that there was an update from ver. 1.2.1 to 1.2.2, because I had not seen any notification on the WP updates page.

    I have just updated an have no PHP warning. Great support!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7.2 deprecated code’ is closed to new replies.