Enable error log and share the messages.
@jimmyk1995 as @hube2 said, acf ist just the awesome backend field system, you need to build a custom admin/backend interface on it.
If you wanna see something awesome look at acf-extended, they added an incredible dynamic render for it.
ACF has also a post about it, here
@hube2
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?
I would say that this error is not caused by acf.
The problem here is that in PHP 8, this error used to throw a ‘warning’ but now it’s a fatal error.
Do you get a valid value when you var_dump the return from get_field?