When i uploaded the x template update i show error

when i uploaded the x template update i show error in the home page

Fatal error: Call to undefined function x_get_view() in /home/shopalahmadiatra/public_html/shop/index.php on line 18

Url: http://shop.alahmadiatrade.com/shop/

Hey @M_Yahoo,

Thanks for writing in. First, we need to know exactly how you got to the issue and also we need to know your setup. With that said, please answer these questions.

  1. When you said “uploaded the x template update”. Did you do a parent theme manual update?

  2. If #1 is not the case, did you upload a template file to your child theme? If so, what file is that and why did you upload it?


the error happened when i upload the update using ftp
I reinstall the theme and made automatic update

But the problem now is that :slight_smile:

1- I want to make my website as a online shop but all of demo content not content online shop Although you can see it as a feature for template from the following


2- I want to make the online shop two language and when i searched about WPML in the control panel i didn’t found it


  1. You need to install woocommerce plugin to create your shop
  1. WPML is a third party plugin and is not included in the theme.

You need to purchase that plugin separately.


You can also translate your site manually kindly refer to the link below.


In the feature for the template there were demo content for woocommerce but after installing the template and WooCommerce and demo content i didn’t found any demo content for woocommerce in my website

you can see it as a feature for template from the following


Hello @M_Yahoo,

Thanks for updating the thread.

In Integrity you don’t get the demo data for Shop pages. As a matter of fact leaving home page you won’t get any other pages as demo data. Integrity is part of standard demo content family. X Theme offers two types of demo contents i.e Standard and Expanded. Standard demo contents will provide you basic site layout for home page along with placeholder images, setting up Theme Options panel. This is done to provide users more flexibility to kickstart development. One the other hand Expended demo contents like Gym, Spa provide fully working website, i.e you get every thing including shop pages.

You can refer our knowledgebase article for more information:

Thanks for understanding.


I installed Spa Template but there is nothing in shop pages also

You can see it at the following page


Hi There,

I have checked your referenced link and it seems that you have enabled a coming soon page.

Try following this link and you should be able to add WooCommerce sample data (https://docs.woocommerce.com/document/importing-woocommerce-sample-data/).



I want to make a section in the home page to display categories for my products and other section to display a latest products

and i want to add categories for my products in the main menu

Hi There,

You can add WooCommerce shorcodes into your pages. For example you can use a Text element or Raw Content element in Cornerstone to place your shortcodes.

To display latest products, you can use the following shortocode (https://docs.woocommerce.com/document/woocommerce-shortcodes/#scenario-4-newest-products). To display categories, you can use the following shortcode (https://docs.woocommerce.com/document/woocommerce-shortcodes/#scenario-5-specific-categories).

To add categories to menu, you need to head over to Appearance -> Menus section. Please follow this resource for more information (https://docs.woocommerce.com/document/docs-menus/).

Hope that helps.

When i make edit for any page with cornerstone i show error
Like this error:

The preview was unresponsive after loading. This is most often related to a plugin conflict or aggressive page cacheing.

Origin URL: http://shop.alahmadiatrade.com

Preview URL: http://shop.alahmadiatrade.com/shop/

Hi there,

Please make sure to check for the following first:

  • We’d recommend that you increase your memory allocated to PHP if you haven’t done so already. To increase it, please edit your wp-config.php file and insert these lines:
    define( 'WP_MEMORY_LIMIT', '256M' );
    define( 'WP_MAX_MEMORY_LIMIT', '512M' );
  • If the issue is still there, please make sure that you have everything updated to the latest version especially for X and Cornerstone. You can find more info about the support versions of X and its bundled plugins here.

  • If you are still seeing an issue, please try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

Let us know how it goes!


I made all of the previous steps and i disabled all plugin
but now i still can’t edit any page by cornerstone without the home … home page is the only page i can edit

but i can’t edit all other pages

Hello @M_Yahoo,

Thanks for updating the thread. :slight_smile:

May I request you to please create a new ticket as this ticket is deviating from the original problem you faced? Reading the last message of your’s I started to read the ticket from start and can clearly see that this ticket getting in a different direction. Most of the time it creates lot of confusion and thereby slowing down the response time.

Please create a new ticket and share the necessary details in the same. Someone from support team will help you out.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.