• Resolved aaa1898

    (@aaa1898)


    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:

    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:

     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 2 years, 1 month ago by aaa1898.

    The page I need help with: [log in to see the link]

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

    (@imagely)

    Hi @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 2 years, 1 month ago by Imagely.
    Thread Starter aaa1898

    (@aaa1898)

    I have disabled all other plugins and the error remained.

    Plugin Contributor Imagely

    (@imagely)

    Hi @aaa1898,

    Feel free to submit a report at 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.