Announcement

Collapse
No announcement yet.

PDO::prepare (...) not compatible with Doctrine

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PDO::prepare (...) not compatible with Doctrine

    Hello.
    Trying to update my ESPO from quite old version 5.4.5 and my execution envernoment accordingly.
    But meet the issue.

    After update php to 7.3 got error bellow:

    Code:
    "FastCGI sent in stderr: PHP message: PHP Fatal err: Declaration of PDO::Prepare(string $query), array $options = []): PDOStatment|false must be compatible with Doctrine\...\Connection::prepare($prepareString)"
    As I can see application code enherits Doctrine base class not corretly. Is it version missincronisation of Doctrine library and Application?


    Last edited by daniil_m; 04-06-2023, 09:07 AM.

  • #2
    Hi daniil_m,

    Please tell me which version of EspoCRM you have now updated to?

    Comment


    • #3
      After some experiments I succeeded​ to update to ver 5.7.11.
      The environment I have used:
      - php 7.1.14
      - 10.11.2-MariaDB

      Comment

      Working...
      X