1. "Fabrik 4" helpers needed!

    You are invited to join other community members active in coding, maintaining and improving Fabrik. Please visit https://fabrik.help for more information!
    Dismiss Notice

Problem after upgrade from php 7.4 tot 8.2

Discussion in 'Community' started by mennoswaak, Sep 19, 2023.

  1. mennoswaak

    mennoswaak New Member

    Level: Community
    At a very late stage I try to move from J.3.10 with F3.10 on php 7.4.33.

    First step is on WAMP with php 8.2. Many things work fine but there are two problems (may be only one).
    I have this view in an article:
    {fabrik view=list id=50 nu_datum___artikelid_raw=628 show-title=0 resetfilters=1 showfilters=0}
    Now with php 8.2 the article doesn't open but give this message:
    500 Fabrik has generated an incorrect query for the list Datum Overzicht: <br /><br /><pre>Illegal argument to a regular expression.</pre>
    The same error i have with lists in the frontend with a filter. As soons as I try to use the filter the same thing happens with the same message.
    I tried many different things without succes.
    Must have to do something different in the php version, but I have no idea what that might be.
    Who can help me

    thanks in advance
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    Joomla!3/Fabrik 3 ist not longer supported.
    But running Fabrik3 on php8+ you must at least update Fabrik3 from GitHub https://github.com/Fabrik/fabrik/
    Although this is not adapted for php8.2 at all.
  3. mennoswaak

    mennoswaak New Member

    Level: Community
    Thanks Troester

    Changing the php version on Wamp back to 7.4.33 did not solve the problem.
    I downloaded and updates my site with the latest version of Fabrik 3
    Then I tried to restore a backup on a life server with php 8.2 and it is working.
    So something was not well in the settings of WAMP. Database, Apache.. ???

    So I will try the next step towards J4 and F4

  4. troester

    troester Well-Known Member Staff Member

    Level: Community
    If you have a copy of a Fabrik site you must open and re-save the Fabrik connection. Did you do this?

Share This Page