User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This change was created with the help of AI (Claude Code).
Site\Model\WeblinkModel::prepareTable() calls (int) str_increment($table->version);.
str_increment() was added in PHP 8.3, so the call is a fatal "Call to undefined function" error on PHP 8.1 and 8.2, which Joomla 5 supports.It is replaced with $table->version++;, like in the administrator model.
Code review. The site WeblinkModel is used for the single weblink view; frontend saving goes through FormModel (which extends the administrator model), so the issue is latent at the moment.
No call to str_increment(), the version is incremented.
Fatal error on PHP < 8.3 when prepareTable() of the site model is called.
None