PHP Warning

What would be the cause for this warnings:

PHP Warning:  Array to string conversion in una-directory/inc/classes/BxDolTemplate.php on line 2523
PHP Warning:  Array to string conversion in una-directory/inc/classes/BxDolTemplate.php on line 2523

I always receive two identical lines on e-mail. Any thoughts/clues about that?

  • 620
  • More
Replies (4)
    • Hello @Mayki !

      Plz share your variant of the mentioned line to exclude the versions differences.

      • Hello @LeonidS

        we are currently using php8.0

        • Sorry, I mean this part:

          inc/classes/BxDolTemplate.php on line 2523
          
          • Hi

            Both lines mentioned above are the same and the warning is from:

            /usr/bin/php8.0 -f /una-homedir/periodic/cron.php 
            

            PHP Warning:  Array to string conversion in /una-homedir/inc/classes/BxDolTemplate.php on line 2523

            The cronjob runs under www-data user. The warning doesn't come to e-mail every minute as cronjob runs every minute but random ( or in some sequence but I didn't pay attention on that. I will wait for the next warnings and I will note the time between them....

            Login or Join to comment.