• Resolved elotse

    (@elotse)


    After the PHP change from 7.4 to 8.0 the plugin works incorrectly
    If I replace an image in the media library with a new one, the following error message appears:

    Ein Fehler vom Typ E_ERROR wurde in der Zeile 251 der Datei /www/htdocs/w0122ce8/kk4you.de/wordpress/wp-content/plugins/media-library-assistant/includes/class-mla-core-options.php verursacht. Fehlermeldung: Allowed memory size of 67108864 bytes exhausted (tried to allocate 2621440 bytes)

    More information:
    WordPress-Version 6.1.1
    Aktives Theme: Astra-KK4YOU (Version 1.7) Aktuelles Plugin: Media Library Assistant (Version 3.06) PHP-Version 8.0.26

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your report. I regret the trouble you are experiencing.

    The error message you listed (thank you) has come up in several earlier support topics. The most likely cause is that upgrading PHP increased the memory required to run your site and you have simply run out of memory. It looks like your current memory limit is about 64 megabytes, which isn’t very much.

    You can increase the PHP memory allocation for WordPress by editing your wp-config.php file; this should work in a hosted environment. You can find more information in this Codex article:

    Editing wp-config.php

    The default value is 40MB, so increasing it to 128MB or 256MB should help. This works in my hosted environment and should work for you. Let me know what your experience is.

    I am marking this topic resolved, but please update it if you have problems or further questions regarding the above solution.

    Thread Starter elotse

    (@elotse)

    After increasing the limit to 256 MB, the plugin works perfectly

    • This reply was modified 3 years ago by elotse.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin Problem with PHP 8.0’ is closed to new replies.