Title: PHP Warnings in debug mode
Last modified: August 2, 2020

---

# PHP Warnings in debug mode

 *  Resolved [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-mode/)
 * I recently installed Letter Avatars in a new development enviroment and noticed
   several warnings due to undefined variables:
 * Undefined index: shape in letter-avatars/lib/frontend/Utils.php on line 38
 * Undefined index: case in letter-avatars/lib/frontend/Utils.php on line 41
 * Solution: Either make sure durin initialization that all required settings have
   default values or add `isset()` where needed like this:
 *     ```
               '{{LTRAV_BORDER_RADIUS}}' => (isset($style_opts['shape']) && $style_opts['shape'] == 'round') ? '50%' : '0',
       ```
   

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Sibin Grasic](https://wordpress.org/support/users/seebeen/)
 * (@seebeen)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-mode/#post-13635756)
 * Hello Arno,
 * Version 3.5 is avaialble for downloading (using **Advanced view tab**).
 * Feel free to test and let me know if you keep encountering the issue.
 *  Thread Starter [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-mode/#post-13636548)
 * What exactly do you mean with “using **Advanced view tab**“?
 *  Thread Starter [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-mode/#post-13636552)
 * JFTR: The advanced view of a WordPress plugin here on the website is only available
   to the plugin owner, not for users.
 *  Plugin Author [Sibin Grasic](https://wordpress.org/support/users/seebeen/)
 * (@seebeen)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-mode/#post-13637381)
 * Hello,
 * Advanced view is available to all. Just checked from Incognito mode.
    [https://wordpress.org/plugins/letter-avatars/advanced/](https://wordpress.org/plugins/letter-avatars/advanced/)
 * The Development version is 3.5.
 * Cheers
 *  Thread Starter [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-mode/#post-13637630)
 * Well – for me it is not visible (however I can see “Advanced” for my own plugins),
   therefore I did not expect that the URL would work:
 * [https://nextcloud.0x0c.de/s/K7QesBpBSsyy6fe/preview](https://nextcloud.0x0c.de/s/K7QesBpBSsyy6fe/preview)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP Warnings in debug mode’ is closed to new replies.

 * ![](https://ps.w.org/letter-avatars/assets/icon-256x256.png?rev=1320502)
 * [Letter Avatars](https://wordpress.org/plugins/letter-avatars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/letter-avatars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/letter-avatars/)
 * [Active Topics](https://wordpress.org/support/plugin/letter-avatars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/letter-avatars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/letter-avatars/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-mode/#post-13637630)
 * Status: resolved