Verfasste Forenbeiträge

Ansicht von 4 Antworten – 1 bis 4 (von insgesamt 4)
  • Thread-Starter mct73

    (@mct73)

    Hi threadi,

    tausend Dank für deine Hilfe … ich habe den Block jetzt auskommentiert und noch mal versucht … und siehe da .. jetzt kann ich auf PHP 8.3 umstellen und mich auch noch an WordPress anmelden!

    VIELEN DANK!

    Thread-Starter mct73

    (@mct73)

    Folgendes wird im Debug mode jetzt noch im WordPress Dashboard angezeigt:

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the health-check domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-includes/functions.php on line 6121 Deprecated: Function create_function() is deprecated in /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-config.php on line 91 Notice: Constant FS_CHMOD_DIR already defined in /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-config.php on line 92 Warning: Cannot modify header information – headers already sent by (output started at /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-includes/functions.php:6121) in /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-includes/functions.php on line 7168 Warning: Cannot modify header information – headers already sent by (output started at /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-includes/functions.php:6121) in /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-includes/functions.php on line 7144 Warning: Cannot modify header information – headers already sent by (output started at /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-includes/functions.php:6121) in /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-admin/admin-header.php on line 14

    Thread-Starter mct73

    (@mct73)

    Auf der Webseite habe ich jetzt noch folgendes gefunden:

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the health-check domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-includes/functions.php on line 6121

    Thread-Starter mct73

    (@mct73)

    Vielen Dank schon mal für den Hinweis.

    Ich habe folgendes herausfinden können:

    [15-Jun-2025 06:59:31 UTC] PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-config.php:91
    Stack trace: 0 /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-load.php(50): require_once() 1 /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-admin/admin.php(35): require_once(‚…‘) 2 /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-admin/plugins.php(10): require_once(‚…‘) 3 {main}

    thrown in /mnt/web216/d0/67/53939867/htdocs/WordPress_02/wp-config.php on line 91

    In der Zeile 91 in der wp-config.php steht folgendes:

    if(is_admin()) {
    add_filter(‚filesystem_method‘, create_function(‚$a‘, ‚return „direct“;‘ ));
    define( ‚FS_CHMOD_DIR‘, 0751 );
    }

    In der Zeile 50 in wp-load.php steht:

    if ( file_exists( ABSPATH . ‚wp-config.php‘ ) ) {

    /** The config file resides in ABSPATH */
    require_once ABSPATH . ‚wp-config.php‘;

    }

    Zeile 35 im admin.php:

    /** Load WordPress Bootstrap */
    require_once dirname( DIR ) . ‚/wp-load.php‘;

    Zeile 10 in plugin.php:

    /** WordPress Administration Bootstrap */
    require_once DIR . ‚/admin.php‘;

    In dem wp-load.php ist aber eine Definition für ABTPATH zu finden Zeile 19-22:

    /** Define ABSPATH as this file’s directory */
    if ( ! defined( ‚ABSPATH‘ ) ) {
    define( ‚ABSPATH‘, __DIR__ . ‚/‘ );

    }

    Nur was ich jetzt mit dieser Information anfangen kann … leider keine Ahnung. 🙁

Ansicht von 4 Antworten – 1 bis 4 (von insgesamt 4)