Debug: SQLSTATE[42S22]: Column Not Found: 1054 Unknown Column in ‘where clause’ in Magento 2
Taking care of your store's data set can turn complex once you increase your business, which makes tasks inclined to specialized mistakes. One of such normal specialized issues looked by the dealers utilizing Magento 2 (presently known as Adobe Business) is the Section Not Found: 1054 Obscure Segment in 'where statement' mistake. A SQL mistake is tossed by the framework when the mentioned section isn't tracked down in the mentioned tables.
In my past blog entry, I gave a total answer for a comparative Section Not Found: 1054 Obscure Segment in 'where condition' blunder in Magento 2 Administrator Framework MassAction. However, the mistake isn't simply restricted to the administrator network; hence, in this blog entry, I will give you a portion of the potential reasons for the blunder in Magento 2.
Preconditions (*)
Magento 2.4.3
Cron occupations are empowered
Troubleshoot log is empowered
Ensure there is an installment done utilizing Klarna installment strategy.
Moves toward replicate (*)
Run the cron occupations and notice it during 12 PM at 12AM in var/log/debug.log log document
Or on the other hand make an item to "Klarna\Core\Cron\CleanLogs" class and take a stab at getting to the "execute" strategy.
Anticipated outcome (*)
The cron Occupations ought to run without an exemption
The recovered logs ought to be erased.
Genuine outcome (*)
An exemption is tossed: "SQLSTATE[42S22]: Segment not found: 1054 Obscure section 'store_id' in 'where statement' question was: SELECT COUNT(*) FROM klarna_logs AS main_table WHERE (store_id = '1') AND (created_at <= '2021-07-06')
Special case (PDOException): SQLSTATE[42S22]: Segment not found: 1054 Obscure section 'store_id' in 'where proviso'
Kindly give Seriousness appraisal to the Issue as Correspondent. This data will help during Affirmation and Issue emergency processes.
Seriousness: S0 - Influences basic information or usefulness and leaves clients without workaround.
Seriousness: S1 - Influences basic information or usefulness and powers clients to utilize a workaround.
Seriousness: S2 - Influences non-basic information or usefulness and powers clients to utilize a workaround.
Seriousness: S3 - Influences non-basic information or usefulness and doesn't compel clients to utilize a workaround.
Seriousness: S4 - Influences style, proficient look and feel, "quality" or "ease of use".
References:
Comments
Post a Comment