Hello,
If you are getting this error while installing any Joomla Extensions, please follow these steps to fix this issue. It is related to the Joomla configuration file "configuration.php" file's entry. Firstly, you have to make sure "/tmp" and "/logs" entries are correctly mentioned in your configuration file.
==============>>>
public $log_path = '/home/username/public_html/logs';
public $tmp_path = '/home/username/public_html/v2/tmp';
==============>>>
Also make sure that these folder has the folder permission 755. Now, try to install Joomla Extensions again, it should work.
Thank you,