• Hi,
    my setup:
    – WordPress 6.x
    – ACF Pro 6.0
    – Polylang Pro

    I am working with “Flexible Layouts” in ACF so i call the table data with get_sub_field("fieldname");

    In PHP 7.4 it works without any problem. With PHP 8.0 or 8.1 the output of get_sub_field(“fieldname”); is absolute empty. I dont get any data with print_r();

    What can I do?

    Kind regards,
    Tobias

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Johann Heyne

    (@jonua)

    Hi,

    I tested an ACF Flexible Content Layout and get_sub_field() successful without any errors on a fresh WordPress install. Can you please check your PHP Logfile. Maybe there are some errors which lead us to the problem.

    Cheers,
    Johann

    Plugin Author Johann Heyne

    (@jonua)

    Do you have installed the current plugin version 1.3.15?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 8.x again’ is closed to new replies.