Hello guys, we were adding some fields in opportunities (we have a lot of fields there) and system started generating error500:
Could you please help me waht can I do about this in order to fix it? Thanks a lot.
Code:
[2023-05-16 06:55:53] ERROR: (HY000) SQLSTATE[HY000]: General error: 1116 Too many tables; MySQL can only use 61 tables in a join; GET /Opportunity/6462c2f2a771b6853; line: 70, file: /data/0/f/0f6e82d6-07b5-42f8-803a-fad2758ce077/esmerozz.eu/web/application/Espo/ORM/SqlExecutor.php [] [] [2023-05-16 06:55:53] ERROR: (HY000) SQLSTATE[HY000]: General error: 1116 Too many tables; MySQL can only use 61 tables in a join; GET /Opportunity/6462c2f2a771b6853/stream; line: 70, file: /data/0/f/0f6e82d6-07b5-42f8-803a-fad2758ce077/esmerozz.eu/web/application/Espo/ORM/SqlExecutor.php [] [] [2023-05-16 06:55:53] ERROR: (HY000) SQLSTATE[HY000]: General error: 1116 Too many tables; MySQL can only use 61 tables in a join; GET /Activities/Opportunity/6462c2f2a771b6853/history; line: 70, file: /data/0/f/0f6e82d6-07b5-42f8-803a-fad2758ce077/esmerozz.eu/web/application/Espo/ORM/SqlExecutor.php [] [] [2023-05-16 06:55:53] ERROR: (HY000) SQLSTATE[HY000]: General error: 1116 Too many tables; MySQL can only use 61 tables in a join; GET /Opportunity/6462c2f2a771b6853/tasks; line: 70, file: /data/0/f/0f6e82d6-07b5-42f8-803a-fad2758ce077/esmerozz.eu/web/application/Espo/ORM/SqlExecutor.php [] [] [2023-05-16 06:55:53] ERROR: (HY000) SQLSTATE[HY000]: General error: 1116 Too many tables; MySQL can only use 61 tables in a join; GET /Activities/Opportunity/6462c2f2a771b6853/activities; line: 70, file: /data/0/f/0f6e82d6-07b5-42f8-803a-fad2758ce077/esmerozz.eu/web/application/Espo/ORM/SqlExecutor.php [] [] [2023-05-16 06:55:53] ERROR: (HY000) SQLSTATE[HY000]: General error: 1116 Too many tables; MySQL can only use 61 tables in a join; GET /Opportunity/6462c2f2a771b6853/documents; line: 70, file: /data/0/f/0f6e82d6-07b5-42f8-803a-fad2758ce077/esmerozz.eu/web/application/Espo/ORM/SqlExecutor.php [] [] [2023-05-16 06:55:54] ERROR: (HY000) SQLSTATE[HY000]: General error: 1116 Too many tables; MySQL can only use 61 tables in a join; GET /Opportunity/6462c2f2a771b6853/childZakazka; line: 70, file: /data/0/f/0f6e82d6-07b5-42f8-803a-fad2758ce077/esmerozz.eu/web/application/Espo/ORM/SqlExecutor.php [] []
Comment