• Hallo,

    vielleicht ist es ja nur ein Zeichen für eine unsch?ne Programmierung und kein “richtiger” Fehler. Aber sch?n ist es natürlich nicht, wenn man im Layout php-Hinweise wie die folgenden erh?lt:

    bei Maps:

    Notice: Undefined index: show_embedded_maps in /var/www/html/wp-content/plugins/extra-privacy-for-elementor/includes/class-extra-privacy-for-elementor.php on line 170
    
    Notice: Undefined variable: tooltip_text in /var/www/html/wp-content/plugins/extra-privacy-for-elementor/includes/class-extra-privacy-for-elementor.php on line 271

    bei Youtube-Videos:

    Notice: Undefined index: show_embedded_videos in /var/www/html/wp-content/plugins/extra-privacy-for-elementor/includes/class-extra-privacy-for-elementor.php on line 162
    
    Notice: Undefined variable: tooltip_text in /var/www/html/wp-content/plugins/extra-privacy-for-elementor/includes/class-extra-privacy-for-elementor.php on line 216

    Sowas m?chte und sollte man auch in einer Entwicklungsumgebung mit
    define('WP_DEBUG', true); in wp-config.php nicht sehen.

    Vielleicht l?sst sich der Code doch etwas verbessern um solche php-Hinweise zu vermeiden?

    • This topic was modified 4 years, 11 months ago by RalphGL.
    • This topic was modified 4 years, 11 months ago by RalphGL. Reason: syntax fehler korrigiert
  • The topic ‘PHP Notice’ is closed to new replies.