Sterc / FormIt

A dynamic form processing Snippet for MODX Revolution
https://docs.modx.com/current/en/extras/formit
33 stars 58 forks source link

[MODX3] Installation warning for modTransportPackage #244

Closed Mark-H closed 2 years ago

Mark-H commented 3 years ago

Bug report

Summary

Installing on MODX3, shows the following warnings which I believe are for the "phone home" that sends update requests to your server:

Could not load class: modTransportPackage from mysql.modtransportpackage
Could not get table name for class:
transport.modTransportPackage is deprecated since version 3.0. Replace references to class transport.modTransportPackage with MODX\Revolution\Transport\modTransportPackage to take advantage of PSR-4 autoloading.
transport.modTransportPackage is deprecated since version 3.0. Replace references to class transport.modTransportPackage with MODX\Revolution\Transport\modTransportPackage to take advantage of PSR-4 autoloading.
Error 42000 executing statement: Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘AS latestPackage WHERE latestPackage.package_name = `modTransp’ at line 3 )

Step to reproduce

Install on MODX 3.

Observed behavior

Warnings logged, still functional

Expected behavior

Probably shouldn't log those warnings.

Environment

N/a

Reported by Steffan at https://community.modx.com/t/modx3-compatibility-of-popular-extras-bug-hunt-edition/3738/7?u=markh

ilyautkin commented 2 years ago

Fixed in 4.2.7