elo74 on "[Plugin: WooCommerce] Newbie- Fatal Error"

ساخت وبلاگ

loramarkham
Member
Posted 2 months ago #

Hi, I am very very new to WordPress. Here's my issue: I installed the woocommerce plug in, and it made my wordpress really slow. So, I deleted woocommerce and got a fatal error. Now I cant log into wordpress. I just figured out how to access my file manager through cpanel. I found the file that is referred to in the fatal error:
Fatal error: Call to undefined function is_shop() in /home/vrwlacqa/public_html/wp-content/themes/TESSERACT/woocommerce/woocommerce-functions.php on line 7

but i don't know what to do about that line.
this is line 7 of my woocommerce-functions.php file-
$isloop = ( is_shop() || is_product_category() || is_product_tag() ) ? true : false;

do i need to take something out or replace something ? and then once i do that do i delete the woocommerce-functions.php file and upload my new one with the changes?

I really want to be able to install and use the woocommerce plug in on my site.
My website is freebirdcoop.com

https://wordpress.org/plugins/woocommerce/

Your theme is expecting WooCommerce to be present.

I would disable your theme by renaming its folder at:
wp-content/themes/tesseract
WP will then use a default theme allowing you back into admin. Reload Woocommerce, then rename the theme folder and activate that.

WooCommerce is widely used and not of itself "really slow". There must be some other problem. Debug by deactivating your other plugins to try to identify if one is causing the problem.

I contacted the theme author about it, giving some tips to avoid it in the future.
For now you can try go to wp-admin/plugins.php, this will update and let the WordPress know that don't have WooCommerce installed anymore.

loramarkham
Member
Posted 2 months ago #

Thank ya'll SO MUCH. Lorro, I did what you said and it worked!! Thank you for speaking in terms I can understand. Claudio, I appreciate you contacting the theme author. Ya'll are lifesavers

Hi, I was working with the theme Tesseract as well and I got the same message Help!!!

Fatal error: Call to undefined function is_order() in /home4/jay/public_html/wp-content/themes/TESSERACT/woocommerce/woocommerce-functions.php on line 7

I'm on the c panel but totally lost if someone can help me on what to do, I can not log in in to wordpress admin.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 266 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 5:49