Forum Replies Created

Viewing 1 replies (of 1 total)
  • I’ve fixed the theme to work under PHP 8.1.

    The compatibility problem is the deprecation of the PHP 7.x create_function().

    You have to replace create_function() with function():

    Ie.
    create_function( ‘$var’, “php code;” )
    with
    function($var) { php code; }

    I’ve fixed it only on these files and it works again:

    wp-content/themes/montezuma/includes/parse_php.php
    wp-content/themes/montezuma/includes/menus.php
    wp-content/themes/montezuma/functions.php

    Hope this helps.

Viewing 1 replies (of 1 total)