• Resolved kda406

    (@kda406)


    Hi, I’m using Nextgen-gallery with PHP 7.1 on a CentOS physical server. I see this in my debug log:

    [25-Jan-2017 19:27:52 UTC] PHP Fatal error:  Uncaught Error: Cannot use string offset as an array in /var/www/clients/client2/web15/web/wp-content/plugins/nextgen-gallery/non_pope/class.photocrati_transient_manager.php:114
    Stack trace:
    #0 /var/www/clients/client2/web15/web/wp-content/plugins/nextgen-gallery/non_pope/class.photocrati_transient_manager.php(126): C_Photocrati_Transient_Manager->_track_key('2__974818834')
    #1 /var/www/clients/client2/web15/web/wp-content/plugins/nextgen-gallery/non_pope/class.photocrati_transient_manager.php(153): C_Photocrati_Transient_Manager->set('2__974818834', Array, 1800)
    #2 /var/www/clients/client2/web15/web/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/mvc/package.module.mvc.php(137): C_Photocrati_Transient_Manager::update('2__974818834', Array)
    #3 [internal function]: A_MVC_Router->cache_lookups()
    #4 {main}
      thrown in /var/www/clients/client2/web15/web/wp-content/plugins/nextgen-gallery/non_pope/class.photocrati_transient_manager.php on line 114

    Is there anything I can do to fix this or is it a bug for the developers?
    Thanks,
    Kyle

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @kda406 – There may be some refactoring we need to consider for PHP 7.1 although I am not seeing that specific fatal error message … can you describe what you were doing to trigger it?

    Thanks!

    – Cais.

    Thread Starter kda406

    (@kda406)

    @photocrati – This was not the only error I had with PHP 7.1 and WordPress 4.7.x. I finally threw my hands in the air, uninstalled 7.1, and installed PHP 7.0. I am no longer seeing this error coming up since I changed back to PHP 7.0. Since I can no longer produce this error, I will mark the status as “resolved”.
    Thanks,
    Kyle

    Plugin Contributor photocrati

    (@photocrati)

    @kda406 – Thanks for the update. There are some rather significant changes in PHP 7.1 and we will be looking at getting the fatal errors sorted out as soon as we can.

    – Cais.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Fatal error: Uncaught Error: Cannot use string offset as an array’ is closed to new replies.