Support for php 8.0/8.1

  • Author
    Posts
  • #128201

    When using wp-cli with php 8.0 I got the following warnings:

    Warning: Undefined array key “tempera_comlabels” in /var/www/www.saarfuchs.com/wp-content/themes/tempera/includes/theme-comments.php on line 197
    Warning: Trying to access array offset on value of type null in /var/www/www.saarfuchs.com/wp-content/themes/tempera/includes/theme-setup.php on line 53
    Warning: Trying to access array offset on value of type null in /var/www/www.saarfuchs.com/wp-content/themes/tempera/includes/theme-setup.php on line 94
    Warning: Trying to access array offset on value of type null in /var/www/www.saarfuchs.com/wp-content/themes/tempera/includes/theme-setup.php on line 94
    Warning: Trying to access array offset on value of type null in /var/www/www.saarfuchs.com/wp-content/themes/tempera/includes/theme-setup.php on line 96
    Warning: Trying to access array offset on value of type null in /var/www/www.saarfuchs.com/wp-content/themes/tempera/includes/theme-setup.php on line 96
    Warning: Trying to access array offset on value of type null in /var/www/www.saarfuchs.com/wp-content/themes/tempera/includes/theme-setup.php on line 97
    Warning: Trying to access array offset on value of type null in /var/www/www.saarfuchs.com/wp-content/themes/tempera/includes/theme-setup.php on line 97
    Warning: Trying to access array offset on value of type null in /var/www/www.saarfuchs.com/wp-content/themes/tempera/includes/theme-setup.php on line 103
    Warning: Trying to access array offset on value of type null in /var/www/www.saarfuchs.com/wp-content/themes/tempera/includes/theme-setup.php on line 105
    Warning: Trying to access array offset on value of type null in /var/www/www.saarfuchs.com/wp-content/themes/tempera/includes/theme-setup.php on line 284
    Warning: Trying to access array offset on value of type null in /var/www/www.saarfuchs.com/wp-content/themes/tempera/includes/theme-setup.php on line 284

    My question: is tempera prepared for using php 8.0 / 8.1?

    Thanks in advance
    Joerg

    #134445

    Hi! Could you fix it? Does your website work with PHP 8.0 with no errors?

    #134846
    Zed
    Cryout Creations mastermind

    Hi

    @Saarfuchs
    ,

    We do not support or test Tempera (or any of our themes) with wp-cli. Global variables work differently there and addressing that would require rewriting large parts of the theme (which was created at a time when wp-cli did not exist).


    @Violet
    ,

    We always do our active development on the current PHP version and I have not encountered any compatibility issues in Tempera (or any of our other classic themes) with either PHP 8.1 or the previous 8.0.
    Are you observing any problems?


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #135216
    This reply is private.
Viewing 4 posts - 1 through 4 (of 4 total)

You need to log in to reply to this topic.