Title: Error in function save_details
Last modified: August 22, 2016

---

# Error in function save_details

 *  [vagabond2](https://wordpress.org/support/users/vagabond2/)
 * (@vagabond2)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-in-function-save_details/)
 * 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://wordpress.org/plugins/shariff-sharing/](https://wordpress.org/plugins/shariff-sharing/)

Viewing 1 replies (of 1 total)

 *  Anonymous User 439586
 * (@anonymized-439586)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-in-function-save_details/#post-5594227)
 * 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](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.

 * ![](https://ps.w.org/shariff-sharing/assets/icon-256x256.png?rev=1039024)
 * [Shariff for Wordpress](https://wordpress.org/plugins/shariff-sharing/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shariff-sharing/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shariff-sharing/)
 * [Active Topics](https://wordpress.org/support/plugin/shariff-sharing/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shariff-sharing/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shariff-sharing/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: Anonymous User 439586
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/error-in-function-save_details/#post-5594227)
 * Status: not resolved