Home › Forums › Themes Support › TeeSpace › PHP error file permission
- This topic has 6 replies, 3 voices, and was last updated 1 month ago by
admin.
-
AuthorPosts
-
October 23, 2023 at 4:06 pm #12352
Hi, I have 2 File Permission Issues errors, I attach images. I’ve already edited the wp-config file and updates it with DB information but the errors are still there. Can you help me? thanks
Attachments:
You must be logged in to view attached files.October 23, 2023 at 4:59 pm #12357I’m having the same problem
-
This reply was modified 1 month, 1 week ago by
oguzhan.
October 24, 2023 at 1:26 am #12367Hi,
Thanks for contacting us and choosing our product!
1. It seems this issue come from permission setting of your server.
Currently folder need to set 775 & file is 644.
Reference more here: https://developer.wordpress.org/apis/wp-config-php/#override-of-default-file-permissions
We tried to fix via wp-config.php but it still doesn’t work.
So change permission via hosting panel is the best solution.
If you don’t understand how to change it, please contact your hosting provider change it for you.
2. About the 2nd screenshot we have just fixed in on your site by go to: wp-content/plugins/haru-teespace/core/redux-extensions/product_attribute/product_attribute/ then open file field_product_attribute.php
Go to line 80 then add this code:$attributes = array();
We’ll update this in the next version.
Hope this helps!****
Regards,
HaruTheme-
This reply was modified 1 month, 1 week ago by
admin.
October 24, 2023 at 8:07 am #12372Atre you sure the number to put is 775 and not 755? And also the folder CODE does not exist, it’s CORE folder. Anyway, the permission of the folder htdocs/wp-content/uploads is 755 already. What should I change?
Moreover, the code $attributes = array(); is already in line 80 in the file field_product_attribute.php.I still have those errors. Can you please tell me how to fix them or be more precise?
October 24, 2023 at 4:35 pm #12384Hi,
1. Sorry for the issue with folder, it’s 755 and we updated path in the previous reply.
The notice message com from: wp-content/plugins/redux-framework/redux-core/assets/inc/classes/class-redux-filesystem.php
You can remove this on line 445 to hide the error:Redux_Admin_Notices::set_notice( $data );
We’ll contact the plugin author about this. However it seems the issue from server side and you can contact your hosting provider about it too.
2. The code on line 80 we have just added to fix the issue on your site, that’s why you see it.
We checked and the issue with field_product_attribute.php already resolved.
Hope this helps!****
Regards,
HaruTheme-
This reply was modified 1 month, 1 week ago by
admin.
October 25, 2023 at 6:59 am #12390Thank you, the errors have just disappeared.
I have these 2 errors. What is it?Attachments:
You must be logged in to view attached files.October 26, 2023 at 7:30 am #12393Hi,
Thanks for your feedback!
1. First of all we see your site have issue with SSL and we installed Really Simple SSL plugin to help you resolved it.
2. The issue is warning and it still works fine without issues.
We have just resolved by go to: wp-content/themes/teespace/includes/enqueue-frontend.php
Go to line 126 and change the code from:wp_localize_script( 'haru-theme-script', 'haru_teespace_ajax_url', get_site_url() . '/wp-admin/admin-ajax.php?activate-multi=true' );
to
wp_add_inline_script( 'haru-theme-script', 'var haru_teespace_ajax_url = "' . get_site_url() . '/wp-admin/admin-ajax.php?activate-multi=true' . '"', 'before' );
3. Go to wp-content/plugins/haru-teespace/includes/widgets/ then open file woo-search.php
Go to line 321 then change the code from:'section_title_style',
to
'section_title_layout',
Now all are working fine.
Hope this helps!****
Regards,
HaruTheme -
This reply was modified 1 month, 1 week ago by
-
AuthorPosts
You must be logged in to reply to this topic.