• Resolved genesis040

    (@genesis040)


    Hallo

    nach der update von Version 3.10 auf 3.11 bekomme ich im Kopf der Seite solche Meldung:

    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/third_party_compat/module.third_party_compat.php on line 148

    Sonst funktioniert alles

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

    (@imagely)

    Hi @genesis040,

    We have followed up with our developer and I am pretty sure that he will take care of the warning and it is going to be resolved in the following NGG update.

    In the meantime as a workaround you can edit wp-config.php file and replace the following line of code to hide all the Warning and Notices from your site’s pages:

    define('WP_DEBUG', false);

    with these:

    
    ini_set('display_errors','Off');
    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);
    
    Thread Starter genesis040

    (@genesis040)

    Vielen Dank für die schnell Antwort

    Thread Starter genesis040

    (@genesis040)

    Ich hatte wp-config.php-Datei bearbeitet

    define(‘WP_DEBUG’, false);

    mit diesen:

    ini_set(‘display_errors’,’Off’);
    define(‘WP_DEBUG’, false);
    define(‘WP_DEBUG_DISPLAY’, false);

    ersetzt

    Bekomme jetzt die Fehlermeldung:

    Parse error: syntax error, unexpected ”WP_CACHE\’, true);’ (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) in /wp-config.php on line 23

    • This reply was modified 3 years, 8 months ago by genesis040.
    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @genesis040,

    Usually, you’d get it due to a syntax error of any sort. Can you please make sure that you have copied the code block exactly as we have mentioned without missing any semicolon and also ensure that all the single apostrophes are straight and not curly? Curly apostrophes usage may cause an issue like the one that you have mentioned:

    
    ini_set('display_errors','Off');
    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);
    
    • This reply was modified 3 years, 8 months ago by Mihai Ceban.
    Thread Starter genesis040

    (@genesis040)

    Hallo,

    ich hatte die Zeilen mit Copy, Paste eingefügt.
    Muss man die per “Hand” schreiben?

    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @genesis040,

    You can try to type them instead of copy pasting but even copy pasting them shouldn’t trigger such an issue. Let’s just ensure that you haven’t accidentally deleted any semicolon and that you are using exclusively straight quotation marks.

    If you have any doubts, it would probably worth reaching your webmaster or the hosting support so they could quickly check if the lines of code were correctly entered.

    Thread Starter genesis040

    (@genesis040)

    Hallo

    nach der update von Version 3.11 auf 3.12 ist im Kopf der Seite die Meldung:

    Warnung: Ungültiges Argument für foreach() in /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/third_party_compat/module.third_party_compat.php in Zeile 148

    nicht mehr da.
    Funktioniert alles

    Vielen Dank

    Grü?e

    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @genesis040,

    Sorry for the delays. This issue got resolved within the latest NextGen Gallery update.

    I have the same error on 3.12

    Invalid argument supplied for foreach() in /home/.sites/201/site2646247/web/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/module.nextgen_gallery_display.php on line 108

    Im on WordPress 5.8

    • This reply was modified 3 years, 7 months ago by laimermic. Reason: additional information
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Nextgen gallery 3.11 Fehler’ is closed to new replies.