Hi there,
I’m trying to make a complete installation of FreePBX 14 - Asterisk 16 with PHP 7.2 at Ubuntu 18.04. I’ve made a couple of changes in some PHP files. Like changing some each lines to foreach lines. That made things work great.
Now I want to apply the config in FreePBX, and it’s giving the error:
Reload failed because retrieve_conf encountered an error: 1
When I execute the command: /var/lib/asterisk/bin/retrieve_conf it gives the following output:
Looks like a PHP method from PHP 5 that isn’t working in PHP 7 anymore. I’m not new to PHP, but I like to hear things from you guys.
How to solve this PHP problem, and does anyone ever succeed a working installation with PHP 7?
Thanks for the answers.
Kind regards,
Serge