Title: Error message in ngg plug-in
Last modified: January 26, 2023

---

# Error message in ngg plug-in

 *  Resolved [aaa1898](https://wordpress.org/support/users/aaa1898/)
 * (@aaa1898)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-message-in-egg-plugging/)
 * Hello,
 * I have the following error message with a wordpressisninstallation:
 * Type Error Thrown, explode(): Argument #2 ($string) must be of type string, array
   given
 * Surprisingly, the error disappears after a certain time (60s?) or after several
   calls and the correct structure of the page is shown.
 * Behind this is hidden in the error.log:
 *     ```wp-block-code
       sudo cat  /var/log/nginx/wp_error.log.1
       [sudo] Passwort für**********:
       2023/01/11 06:32:25 [error] 1289#1289: *66391 FastCGI sent in stderr: "PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/package.module.nextgen_data.php on line 5648PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/package.module.nextgen_data.php on line 5648" while reading upstream, client: 192.168.0.225, server: 192.168.0.100, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "192.168.0.100"
       ```
   
 * Line 5648 contains the following code:
 *     ```wp-block-code
        if (isset($params['crop_frame'])) {
                           $size_meta['crop_frame'] = $params['crop_frame'];
                       }
       ```
   
 * What could be the reason for this? Is there a workaround?
 * Kind regards,
 * AAA1898
    -  This topic was modified 3 years, 4 months ago by [aaa1898](https://wordpress.org/support/users/aaa1898/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-message-in-egg-plugging%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-message-in-egg-plugging/#post-16411341)
 * Hi [@aaa1898](https://wordpress.org/support/users/aaa1898/),
 * Seems that the error with **Type Error Thrown, explode()** and the warning are
   2 different things and the first one may or may not have to do with NGG.
 * In the similar cases we always suggest starting with a conflict check by temporarily
   deactivating the other plugins leaving NextGen Gallery as the only active plugin
   to see if the issue persists.
    -  This reply was modified 3 years, 4 months ago by [Imagely](https://wordpress.org/support/users/imagely/).
 *  Thread Starter [aaa1898](https://wordpress.org/support/users/aaa1898/)
 * (@aaa1898)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-message-in-egg-plugging/#post-16413487)
 * I have disabled all other plugins and the error remained.
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-message-in-egg-plugging/#post-16413538)
 * Hi [@aaa1898](https://wordpress.org/support/users/aaa1898/),
 * Feel free to submit a report at [https://www.imagely.com/report-bug/](https://www.imagely.com/report-bug/)
   indicating this thread and we’ll have a closer look at the error.
 * Thanks

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

The topic ‘Error message in ngg plug-in’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Imagely](https://wordpress.org/support/users/imagely/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/error-message-in-egg-plugging/#post-16413538)
 * Status: resolved