• Hi,

    I did a clean installation at promes.nl, my prefered hoster, the wysiwyg page in the theme is not responding. The same installation at hosting2go.nl is working fine. See the attached picture for the issue.
    I asked the hoster.
    In the log he finds: AH01071: Got error ‘PHP message: PHP Warning: Constant EMPTY_TRASH_DAYS already defined in /xxx/public_html/wp-config.php on line 105

    He is mainly a Drupal hoster. My original site is in Drupal, but I want to convert to WP with the twenty twent-five theme.

    Both hosters provide the same PHP: 6.7.2
    I see a difference in the forbidden functions.
    Promes: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname

    H2Go: opcache_get_status

    Who can shine their light? TIA.

    • This topic was modified 2 weeks, 4 days ago by Rein de Jong.
    • This topic was modified 2 weeks, 4 days ago by Rein de Jong.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @purefox,

    6.7.2 is the current WordPress version, not the PHP version.

    To run WordPress, it’s recommended your host supports:

    • PHP?version 7.4 or greater.
    • MySQL?version 8.0 or greater OR?MariaDB?version 10.5 or greater.
    • HTTPS?support

    Do you know if your host covers those?

    Here you can read more information about WordPress requirements.

    Thread Starter Rein de Jong

    (@purefox)

    Thanks for your answers

    Yes, Stupid.
    He runs PHP 8.1.27. and HTTPS support

    See: https://wp.reindejong.nl/phpinfo_.php

    • This reply was modified 2 weeks, 4 days ago by Rein de Jong.
    • This reply was modified 2 weeks, 4 days ago by Rein de Jong.

    I don’t know if this could be related to the issue, but review the wp-config.php file, search for the constant EMPTY_TRASH_DAYS to see if it is defined, and then remove it and check again.

    Jos.

    Thread Starter Rein de Jong

    (@purefox)

    The wp-config.php is 103 lines. No constant EMPTY_TRASH_DAYS present ??
    In The whole of public_html I can’t find the string EMPTY_TRASH_DAYS.

    Where’s that error message comming from?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.