Problem in nextcloud logs PHP

Hi everyone, I just installed nextcloud on an Ubuntu 18.04 distro.
Everything seems to work correctly, but I see errors in the logs and I would like to correct them. I wouldn’t want it to have installed multiple versions of php during installation and this causes a problem:

Thanks to anyone who can give me suggestions for the solution

Hello,
Maybe you didnt install php-apcu : sudo apt install php-apcu .
Did you have error in nextcloud overview settings ?

[quote=“bastien, post:2, topic:107453”]
sudo apt install php-apcu
[/quote]Thanks a lot, installing apc solved the problem for me. The nextcloud log is now clean.
at the same time, I have verified that I find errors in phpmyadmin when I click the import button:
Warning in ./libraries/plugin_interface.lib.php#551
count (): Parameter must be an array or an object that implements Countable

Backtrace

./libraries/display_import.lib.php#371: PMA_pluginGetOptions (
string ‘Import’,
array,
)
./libraries/display_import.lib.php#456: PMA_getHtmlForImportOptionsFormat (array)
./libraries/display_import.lib.php#691: PMA_getHtmlForImport (
string ‘6023f4aed04df’,
string ‘database’,
string ‘nextcloud’,
string ‘’,
integer 2097152,
array,
NULL,
NULL,
string ‘’,
)
./db_import.php#43: PMA_getImportDisplay (
string ‘database’,
string ‘nextcloud’,
string ‘’,
integer 2097152,
)

Can I also omit or try to investigate?

Hey,
Great !
I’m not familiar with phpmyadmin but on internet I found this. The first solution is to upgrade phpmyadmin. The second is to edit a php file → I don’t advise this, very bad idea.

You solved my problems, first by installing apc and then by updating phpmyadmin.
You are great, thank you very much

1 Like

You’re welcome, Glad to hear it :blush: