Corrected bugs:
- ErrorException: Template error: [E_WARNING] Attempt to read property "xfa_motm" on null src/addons/XFA/XFMGMediaOfTheMonth/XFMG/Entity/MediaItem.php:50
Modifications:
- Updated table names to XF standard
- Add-on ported to XF2.3
- Revamped options organisation
New features:
- Mode 1: Maximum file size option
- Mode 1: Maximum image dimensions option
This version is only compatible with...
Did you report it ?I'm getting an error with this add-on. Hoping for a fix soon.
Corrected bugs:
- ErrorException: [E_WARNING] Trying to access array offset on int src/addons/XFA/XFMGMediaOfTheMonth/Service/Album/Create.php:108
xf_mg_media_item where xfa_motm_winnner = 1.I would love something like this for my forum. But it seems support is somewhat lacking? Does it work at all in XF 2.3.7?
I would love something like this for my forum. But it seems support is somewhat lacking? Does it work at all in XF 2.3.7?
Lacking ? What makes you say that ?
Thanks for reporting it.
It's marked fixed 6 days after reported.Because issues were reported last year and I didn't see a fix, just this:
Apologies if I was wrong.
There was an issue reported in post #308 on August 27 2025 and no updates after, just a “Thanks for reporting it’. Hence my assumption.It's marked fixed 6 days after reported.
![]()
[XFA] Media Of The Month - XF2 - Updates
xenforo.com
var_dump(\XF::Options()->changeLogLength);
$option = Helper::find(\XF\Entity\Option::class, 'changeLogLength');
$option->option_value = 0;
var_dump($option->option_value);
type instead of the expected int type. This matters because xf-dev:generate-options-stub CLI command gives strongly typed hints, and phpstorm (and other php code formatting tools) will suggest to unwrap any casts. Except the underlying type is stringy so strict checks (=== / !==) will unexpectedly fail.$monthDay === $motmDayStart
$language->date()
or
$date->format()
(int)$monthDay === (int)$motmDayStart
Corrected bugs:
- Contests not generated since update to 2.3.7
- Query too intensive for widgets if gallery contains many medias
We use essential cookies to make this site work, and optional cookies to enhance your experience.