• Resolved greatpages

    (@greatpages)


    Hello,

    I’m facing a strange issue, although the error is very generic: error 500.
    I just created a new local working environment with Xampp 8 and wanted to do some tests with a fresh installation of wordpress. PHP is v8 and I have full rights to the directories.
    Usual image upload with the wordpress media uploader is working fine.
    Trying to sync the content of a folder in Media Library Folders (MLF) plugin failed with a POST 500 error: internal server error.
    This might be due to faults in the Xampp config, but after enabling debug mode in wordpress I got some more details. According to this MLF is using deprecated commands (see screenshot above).
    Debug and Console Errors
    Do you think this might be the reason for the failed sync process?
    I didn’t face any other issues so far.
    I could switch to an older PHP version as a workaround, but would be interested to know the reason behind my issue.

    Any ideas are highly appreciated. Thanks in advance,
    -Björn

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter greatpages

    (@greatpages)

    UPDATE:
    Switched back to PHP 7.4 and made same config changes as to PHP 8.
    Created new database and installed a fresh WordPress version to localhost.
    Installed MLF plugin and synced folder content without any issues. 🙂

    Although I made a thorough research I wasn’t able to find any specific setting I should have made for PHP 8 to resolve the issue from my previous post. But I stumbled upon a bunch of error reports regarding other plugins that seem to have similar issues.

    Plugin Author AlanP57

    (@alanp57)

    Thanks for pointing out the issue. I’ll have to try syncing while running PHP 8.

    According to this page, https://make.ww.wp.xz.cn/core/handbook/references/php-compatibility-and-wordpress-versions/, WordPress itself does not yet fully support PHP 8. And that would also apply to a lot of themes and plugins.

    As for the debug error messages, stack tracing need to be turned on in order to see which file and the line number where these issues are occurring in the plugin.

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

The topic ‘Deprecated Commands With PHP 8?’ is closed to new replies.