When I am running this command in the magento 2.4 : sudo bin/magento s:up && sudo bin/magento s:di:c && sudo bin/magento c:f
I got this error I tied many things but don't work.
Warning: array_replace_recursive(): Expected parameter 2 to be an array, null given in /home/rana/www/magento/vendor/magento/framework/Setup/Declaration/Schema/Diff/Diff.php on line 146