• Resolved whiskydog

    (@whiskydog)


    Hello.
    My wordpress website is broken now, because I am forced to php 8.0 by my provider. My site doesn’t work at all, when the plugin is activated, it gives this error:
    Error thrown
    Call to undefined function create_function()
    The NextGEN gallery version is 3.30 and it does not offer any updates, it says I am using the latest version.
    When I de-activate NextGEN Gallery, my website is back up, but all pages are broken and funky looking. Because I have NetGEN Gallery items on almost all pages.
    I am really at a loss her, I’m not at all a good webmaster, and felt lucky I had something I could figure out – until this happened, out of my hands, very frustrating.
    I can not chose a 7-point-something php version, the site goes mandatory to 8.0 per November 28.
    Help please please.

    • This topic was modified 1 year, 5 months ago by whiskydog.
    • This topic was modified 1 year, 5 months ago by whiskydog.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Jaime Segura

    (@jaimeimagely)

    Hi,

    I am glad to help.

    We test NextGEN Gallery with the latest WordPress Beta and the most recent PHP version in advance, as soon as an update is available, we use that. We have been working on PHP 8 since it was out and not widely spread and even updated our plugins to be compliant with it. Please do note each server is different and this might be related to your setup specifically.

    In order to be sure the problem has somehthing to do with NextGEN Gallery, first deactivate and delete it. Make sure your theme is updated. Then reinstall it. After that:

    Deactivate all your plugins, then activate NextGEN and see if your site breaks.
    If it does not, reactivate one plugin at a time. Check after each.
    Let us know if you find any plugin that causes the breakage when activated along with NextGEN.
    If this does not throw any results, try using a different theme temporarily like twenty twenty.

    Thanks.

    Thread Starter whiskydog

    (@whiskydog)

    OOHH, THANK you thank you thank you.

    The culprit was:

    Performance Cache
    Make your website faster with Performance Cache Pro by saving a cached copy of it. With the Pro version, you get more optimization.
    Version 3.0.5 | Af one.com | Vis detaljer | Security Check

    I suspect it was a default plugin? I do not recall why I would have installed it without prompt.

    Anyway…my site is working, now WITH NextGEN gallery, so that’s a thrill.
    Only ONE little wonder left…at all the pages at the bottom, I now have the same message:
    Error thrown
    Call to undefined function create_function()

    I did not notice if it was on with all the plugins off, or with which one it came on. Any suggestions?
    My theme is twentysixteen.
    I really, really appreciate the help, that was great.

    • This reply was modified 1 year, 5 months ago by whiskydog.
    Plugin Contributor Imagely

    (@imagely)

    Hi @whiskydog,

    We have removed any create_function()function calls starting NGG 2.2.30 version back in 2017 to be compatible with PHP 7.2 or newer versions so respectively – it shouldn’t be NGG triggering this issue.

    First of all I’d perform a plugin conflict check by deactivating them one by one to see which one causes the error.

    Thread Starter whiskydog

    (@whiskydog)

    It turned out that once I installed classic editor (Word press klassisk editor) it all fixed itself.
    I haven’t attended to my site in 4-5 years, and the editing interface had changed – somehow the classic editor was gone.
    Once re-installed – the magic happened.

    Thank you so much for your time.

    • This reply was modified 1 year, 5 months ago by whiskydog.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘NextGen Gallery not working with php 8.0’ is closed to new replies.