No bug AMOUNT|__construct: No order found with number:

More
1 year 5 months ago #2218 by Dmitrijs Rekuns
AMOUNT|__construct: No order found with number: was created by Dmitrijs Rekuns
Hello,

We have a bunch of log info recrods like
AMOUNT|__construct: No order found with number:

Is it something that we should pay attention for?

Best regards,
Dmitrijs
The topic has been locked.
More
1 year 5 months ago #2220 by Ruud van Lent
Replied by Ruud van Lent on topic AMOUNT|__construct: No order found with number:
These are info messages. when switching of debug they will not show in the log.
I have added these for debugging a specific issue in the past. Maybee it is time to remove these from loggin.

Will see if they still have value for debugging or not.
The topic has been locked.
More
1 year 5 months ago #2226 by Dmitrijs Rekuns
Replied by Dmitrijs Rekuns on topic AMOUNT|__construct: No order found with number:
A few words from Eugene:
But if there is a real problem and No order found with number - this is definitely need to be investigated by the site administrator, otherwise it is, sorry to say, wrong information which raises questions as this.

Best regards,
The topic has been locked.
More
1 year 5 months ago #2232 by Ruud van Lent
Replied by Ruud van Lent on topic AMOUNT|__construct: No order found with number:
Hi,
when visiting the site a unique ordercode is created, but that doesn't mean that there is also an order created (a user who buys things).
Now when the visitor goes to e.g. the checkout. The checkout page tries to calculate the amount for the order. It has an order code, but is doesn't have an order. That is the message you see here:
Code:
2022-10-15T08:55:28+00:00    INFO xxx.136.71.25    ochsubscriptions    AMOUNT|__construct: No order found with number: 2200675580 2022-10-15T08:55:28+00:00    INFO xxx.136.71.25    ochsubscriptions    https://onlinecommunityhub.nl/checkout

The second line is the URL where the info message is generated.

I will change the message type from INFO to DEBUG as that is what this information is for. As said, the information is for debugging.
The topic has been locked.
More
1 year 5 months ago - 1 year 5 months ago #2233 by Ruud van Lent
Replied by Ruud van Lent on topic AMOUNT|__construct: No order found with number:
from: en.wikipedia.org/wiki/Syslog

Severity level
The list of severities is also described by the standard:
  • Emergency: System is unusable, A panic condition.
  • Alert: Action must be taken immediately, A condition that should be corrected immediately, such as a corrupted system database.
  • Critical: Critical conditions, Hard device errors.
  • Error: Error conditions
  • Warning: Warning conditions
  • Notice: Normal but significant conditions, Conditions that are not error conditions, but that may require special handling.
  • Informational: Informational messages, Confirmation that the program is working as expected.
  • Debug: Debug-level messages,Messages that contain information normally of use only when debugging a program.
Last edit: 1 year 5 months ago by Ruud van Lent.
The topic has been locked.
More
1 year 5 months ago #2237 by Dmitrijs Rekuns
Replied by Dmitrijs Rekuns on topic AMOUNT|__construct: No order found with number:

I will change the message type from INFO to DEBUG as that is what this information is for. As said, the information is for debugging.

Good.
The topic has been locked.
More
1 year 5 months ago #2260 by Dmitrijs Rekuns
Replied by Dmitrijs Rekuns on topic AMOUNT|__construct: No order found with number:
Fixed
The following user(s) said Thank You: Ruud van Lent
The topic has been locked.