Skip to content

bug: ErrorException: Deprecated: strcasecmp(): Passing null to parameter #2 ($string2) of type string is deprecated #830

Description

@sentry

Sentry Issue: KEYMAN-COM-4H4

ErrorException: Deprecated: strcasecmp(): Passing null to parameter #2 ($string2) of type string is deprecated
  File "/includes/ui/keyboard-details.php", line 705, in UI\KeyboardDetails::{closure:UI\KeyboardDetails::WriteKeyboardDetails():684}
    (!strcasecmp($bcp47, self::$bcp47) ? "<mark>".htmlspecialchars($detail->languageName)."</mark>" : htmlspecialchars($detail->languageName)).
  File "/includes/ui/keyboard-details.php", line 713, in UI\KeyboardDetails::WriteKeyboardDetails
    })();
  File "/includes/ui/keyboard-details.php", line 83, in UI\KeyboardDetails::render_keyboard_details
    self::WriteKeyboardDetails();
  File "/keyboard.php", line 42
    \UI\KeyboardDetails::render_keyboard_details($id, 'stable', false, $bcp47);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions