Breaks on PHP 8.0
wp-jalali 5.0.1 uses PHP features that were removed in PHP 8.0. Sites running this version on PHP 8.0 or newer can show errors when that code runs.
PHP 8.0
✗ 9PHP 8.1
✗ 9PHP 8.2
✗ 9PHP 8.3
✗ 9PHP 8.4
✗ 9PHP 8.5
✗ 9✓ no problems · ⚠ deprecation notices only (still works) · ✗ uses something removed in that PHP version
Not updated for 8.9 years. Nobody seems to maintain this plugin, so problems found here are unlikely to be fixed. If your site uses it, look for a maintained alternative before upgrading PHP.
Check your whole site, not just one plugin. The free PHP Upgrade Check plugin scans every plugin and theme you have installed (including premium and custom ones) and explains each problem. It runs on any host.
What breaks on PHP 8.0
| File:line | What |
|---|---|
lib/date.php:96 | Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4 and removed in PHP 8.0. Found: $format{$i} |
lib/date.php:98 | Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4 and removed in PHP 8.0. Found: $format{ ++$i} |
lib/date.php:260 | Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4 and removed in PHP 8.0. Found: $format{$i} |
lib/date.php:262 | Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4 and removed in PHP 8.0. Found: $format{ ++$i} |
lib/date.php:283 | The left-associativity of the ternary operator has been deprecated in PHP 7.4 and removed in PHP 8.0. Multiple consecutive ternaries detected. Use parenthesis to clarify the order in which the operations should be executed |
lib/date.php:351 | The left-associativity of the ternary operator has been deprecated in PHP 7.4 and removed in PHP 8.0. Multiple consecutive ternaries detected. Use parenthesis to clarify the order in which the operations should be executed |
lib/date.php:353 | The left-associativity of the ternary operator has been deprecated in PHP 7.4 and removed in PHP 8.0. Multiple consecutive ternaries detected. Use parenthesis to clarify the order in which the operations should be executed |
lib/date.php:420 | The "isDST" parameter for function mktime() is deprecated since PHP 5.1 and removed since PHP 7.0 |
lib/date.php:457 | The "hour" parameter for function mktime() is missing. Passing this parameter is no longer optional. The optional nature of the parameter is deprecated since PHP 5.1 and removed since PHP 8.0 |
Deprecated (works today, logs notices)
| File:line | What |
|---|---|
lib/date.php:344 | Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead |
lib/date.php:351 | Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead |
lib/date.php:353 | Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead |
lib/date.php:359 | Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead |
Plugin page on WordPress.org: wp-jalali