• Hallo,

    immer wenn ich versuche eine neue Seite oder einen neuen Post anzulegen, kommen folgende Fehlermeldungen:

    Notice: Undefined variable: post_id in /homepages/1/d532582146/htdocs/wp-content/plugins/shariff-sharing/shariff-wp.php on line 278

    Notice: Trying to get property of non-object in /homepages/1/d532582146/htdocs/wp-content/plugins/shariff-sharing/shariff-wp.php on line 285

    Notice: Undefined index: shariff_enabled in /homepages/1/d532582146/htdocs/wp-content/plugins/shariff-sharing/shariff-wp.php on line 285,

    Wenn ich diese Meldungen ignoriere und save draft mache, kommen die nochmal und zusätzlich:

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/1/d532582146/htdocs/wp-content/plugins/shariff-sharing/shariff-wp.php:274) in /homepages/1/d532582146/htdocs/wp-admin/post.php on line 233

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/1/d532582146/htdocs/wp-content/plugins/shariff-sharing/shariff-wp.php:274) in /homepages/1/d532582146/htdocs/wp-includes/pluggable.php on line 1179

    Danke und Grüße.

    https://ww.wp.xz.cn/plugins/shariff-sharing/

Viewing 1 replies (of 1 total)
  • Anonymous User 439586

    (@anonymized-439586)

    Workaround:
    Du könntest das PHP-ErrorReporting ändern, so dass Notices nicht mehr angezeigt werden. Oder statt die Meldungen ausgeben zu lassen, diese in ein Files schreiben, was für Produktiv-Systeme wohl am sinnigsten ist.

    http://php.net/manual/de/function.error-reporting.php
    error_reporting(E_ALL ^ E_NOTICE);

Viewing 1 replies (of 1 total)

The topic ‘Error in function save_details’ is closed to new replies.