Erraneous error message about permissions
-
WP5.5.3, Elementor v3.0.13, Redux Version 4.1.23. When installing Phami theme from WPBingo several errors appeared. On the page WPBingo –> Theme Options error message is displayed: We were unable to modify required files. Please ensure that /home/ivar/public_html/asperbio/wp-content//uploads/ although rights are correct. Tried even 777 to whole file tree, the error remains. Double slash comes from error in a redux file but removing it did not help either.
This error was displayed even twice, and we found that during the WPBingos demo site import (WPBingo –> Theme Options –> Demo Importer) script created files ReduxFramework_extension_wbc_importer_extended.php and ReduxFramework_extension_ad_remove_extended.php with permissions 000 and probably then stopped. It appeared twice, so it was not random error. When I manually changed those permissions to 664 second instance of this error disappeared but one still remained.
WPBingo’s support person managed to import the demo site files manually and said it was redux incompatibility.
I investigated the file wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-filesystem.php a bit and found that in function do_action the $action = “actobject” that is not processed there at all, and therefore the function probably goes to $this->killswitch = true. I think the problem lays there. And another thing I noticed is that $wp_filesystem is kind of FTPext
We do not use FTP in this server, only ssh and it works well for installing plugins.
Best regards, Kristjan Adojaan
-
Hello,
I will be happy to help you with this issue but unfortunately, we don’t have the Phami theme which is needed to test the issue.
I will consult the development team possibly they can find a solution without having Phami theme.
Thanks.
Hi,
I’m sorry for this delay and I would thank you for your investigations and findings.
We can’t figure out the issue as we don’t have the theme. So, we can’t replicate the issue.
I’m not sure how WPBingo uses Redux. But from this ticket description, I understood that the function do_action( $action, $file = ”, $params = ” ) is called with $action= “actobject”.
The function body doesn’t expect to get the “actobject” string from the $action parameter.
So, I think that the function is called wrongly by an external call and this might be the WPBingo mistake.Thanks.
The topic ‘Erraneous error message about permissions’ is closed to new replies.