Home › Forums › Add-ons › Repeater Field › Reapeater field problem with PHP 8 › Reply To: Reapeater field problem with PHP 8
typically its something like this:
$array = array('label' => 'value');
$string = "value";
var_dump($array['label']);
var_dump($string['label']);
php >= 8.0 “Cannot access offset of type string on string”
php < 8.0 “Warning: Illegal string offset”
@sina_saeedi82 could you share more code?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.