Support » Plugin: HTML Page Sitemap » Sitemap doesn’t show up after upgrading to PHP7

  • Resolved ronniem3

    (@ronniem3)


    Hi Angelo,

    I would like to make a bug report. We recently upgraded a site from PHP5.5 to PHP7 and the following errors appear:

    [Wed Feb 14 15:48:15 2018] [error] [client xxx.xxx.xxx.xxx] FastCGI: server “/php -domaincom.fpm” stderr: PHP message: PHP Warning: Illegal string of fset ‘echo’ in /var/home/userxxx/domainxxx/www/wp-content/plugins/html-sitemap/html-sitemap.php on line 60
    [Wed Feb 14 15:48:15 2018] [error] [client 208.70.247.145] FastCGI: server “/php -domaincom.fpm” stderr: PHP message: PHP Warning: Illegal string of fset ‘title_li’ in /var/home/userxxx/domainxxx/www/wp-content/plugins/html-sitemap/html-sitemap.php on line 61
    [Wed Feb 14 15:48:15 2018] [error] [client 208.70.247.145] FastCGI: server “/php -domaincom.fpm” stderr: PHP message: PHP Warning: Cannot assign an empty string to a string offset in /var/home/userxxx/domainxxx/www/wp-content/plugins/html-sitemap/html-sitemap.php on line 61
    [Wed Feb 14 15:48:15 2018] [error] [client 208.70.247.145] FastCGI: server “/php -domaincom.fpm” stderr: PHP message: PHP Fatal error: Uncaught Error: Cannot unset string offsets in /var/home/userxxx/domainxxx/www/wp-content/plugins/html-sitemap/html-sitemap.php:62

    I believe that it’s trying to unset variables that don’t exist. Would you be able to fix this? I’m guessing doing a check to see if these variables exist before using them might be the solution.

    Cheers,
    Ronnie

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sitemap doesn’t show up after upgrading to PHP7’ is closed to new replies.