MODXバージョン 1.1.0J 新規インストール
データベースのバージョン 8.0.39
PHP Version 7.4.33
お世話になっております。
1.1.0Jを新規インストールしてサイト作成中ですが、作成したテンプレート変数を複製しようとすると
以下のエラーが出て複製できません。(新規作成はできます)
またDemo Content用に入っていた [1] キーワード を複製しようとすると
エレメント管理画面のフレームに、なぜかサイトトップページが表示されて、
エレメント管理に戻ってみてもやはり複製できませんでした。
お手数ですが確認をお願いします。« MODX Parse Error »
MODX encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - Duplicate entry '0-4' for key 'modx_site_tmplvar_templates.PRIMARY' »
INSERT INTO `****_modx_main`.`modx_site_tmplvar_templates` (tmplvarid, templateid) SELECT 0, templateid FROM `****_modx_main`.`modx_site_tmplvar_templates` WHERE tmplvarid=3
LastQuery : INSERT INTO `****_modx_main`.`modx_site_tmplvar_templates` (tmplvarid, templateid) SELECT 0, templateid FROM `****_modx_main`.`modx_site_tmplvar_templates` WHERE tmplvarid=3
Basic info
REQUEST_URI : /manager/index.php?id=3&a=304
Manager action : 304 - Duplicate Template Variable
Referer : https://******.com/manager/index.php?id=3&a=301
User Agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:109.0) Gecko/20100101 Firefox/115.0
IP : 152.165.126.25
Benchmarks
MySQL : 0.0132 s (5 Requests)
PHP : 0.0054 s
Total : 0.0185 s
Memory : 251.33 KB
Backtrace
1 include_once()
manager/index.php on line 544
2 DBAPI->query()
manager/processors/tmplvars/duplicate_tmplvars.processor.php on line 37
3 DBAPI->exec()
manager/includes/extenders/dbapi/mysqli.inc.php on line 296
4 $modx->__call()
manager/includes/extenders/dbapi/mysqli.inc.php on line 244