Home › Forums › WoodMart support forum › The active theme is broken. Reverting to the default theme.
The active theme is broken. Reverting to the default theme.
- This topic has 7 replies, 2 voices, and was last updated 5 months, 3 weeks ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
July 25, 2024 at 1:04 pm #585675
skarem100ParticipantHello and hope you are doing well. This is the third time that I have this problem.
now the site and the main theme are deactivated automatically. Could you please help me with it?
user
testuserpassword:
XL1dRThobI have resolved it by reinstalling the theme but the problem is that it happens everyday.
Regards
July 25, 2024 at 1:10 pm #585679
skarem100ParticipantBut please faster. Because it is very annoying.
July 25, 2024 at 1:26 pm #585685
skarem100ParticipantI have added this code a few days ago to the functions.php as well. Maybe the problem belongs to this code?
July 25, 2024 at 4:14 pm #585742
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say that your given login details are not working, please share the login details of your site. So I will further check on your site and give you a possible solution about the compare feature.
Best Regards.
July 25, 2024 at 5:01 pm #585775
skarem100ParticipantHello and sorry. Please use this
July 25, 2024 at 10:18 pm #585833
skarem100ParticipantHello and hope you are doing well. I had to enable the website again because the owner needed it. It may happen again. when happened please have a look. I checked the log and I got an error on the file. It was a fatal error. I don’t know if it is from the plugin:
PHP Fatal error: Uncaught Error: Call to a member function get() on null in /home3/vprvvgmy/public_html/wp-content/plugins/yith-woocommerce-request-a-quote-premium/includes/class.yith-request-quote-frontend.php:245Then I removed the code from the functions.php
I mean this code:
if ( ! function_exists(\’yith_ywraq_custom_hide_price_template_zero\’) ) {
add_filter( \’yith_ywraq_hide_price_template\’, \’yith_ywraq_custom_hide_price_template_zero\’, 10, 3 );
function yith_ywraq_custom_hide_price_template_zero( $price, $_product, $item ) {
$price = is_user_logged_in() ? $price : \’\’;
return $price;
}
}I wanted to hide price everywhere on the website from guest users and show the price only to the logged in users. could you please tell me if the above code is wrong or may cause a problem again or not. ? If so please write me the correct code so that I can show prices only to the logged in users.
Regards
July 26, 2024 at 12:23 am #585845
skarem100ParticipantHello again. Actually I removed the code from the website. But unfortunately the website is resetted again. the same problem The parent theme is missing. Please install the “woodmart” parent theme. is again there 🙁
July 26, 2024 at 10:10 am #585926
Aizaz Imtiaz AwanKeymasterHello,
Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists then keep the 3rd party plugins deactivated and let me know I will further check on your site and give you a possible solution.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register