Function error message on all pages

Hello, I have a problem with my website where this error shows up on all website pages but not admin panel

It got it either from Elementor update or theme update. We use Cerato for theme.

“(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = ‘https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js’; fjs.parentNode.insertBefore(js, fjs); }(document, ‘script’, ‘facebook-jssdk’));”

We have tried to deactivate some plugins that may cause it but it didn’t work.

Here is woo commerce system report


### WordPress Environment ###

WordPress address (URL): https://darkcheats.company
Site address (URL): https://darkcheats.company
WC Version: 4.4.1
REST API Version: ✔ 1.0.15
WC Blocks Version: ✔ 3.1.0
Action Scheduler Version: ✔ 3.1.6
WC Admin Version: ✔ 1.4.0
Log Directory Writable: ✔
WP Version: 5.5.1
WP Multisite: –
WP Memory Limit: 1 GB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: ✔

### Server Environment ###

Server Info: Apache/2.4.29 (Ubuntu)
PHP Version: 7.2.24-0ubuntu0.18.04.6
PHP Post Max Size: 1 GB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.58.0
OpenSSL/1.1.1

SUHOSIN Installed: –
MySQL Version: 5.7.31-0ubuntu0.18.04.1
Max Upload Size: 1 GB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Database ###

WC Database Version: 4.4.1
WC Database Prefix: GRF6J6t9h_
Total Database Size: 27.19MB
Database Data Size: 23.87MB
Database Index Size: 3.32MB
GRF6J6t9h_woocommerce_sessions: Data: 2.02MB + Index: 0.05MB + Engine InnoDB
GRF6J6t9h_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
GRF6J6t9h_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
GRF6J6t9h_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
eTs2p_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
eTs2p_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
eTs2p_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
eTs2p_options: Data: 0.03MB + Index: 0.03MB + Engine InnoDB
eTs2p_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
eTs2p_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
eTs2p_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
eTs2p_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
eTs2p_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
eTs2p_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
eTs2p_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
eTs2p_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
GRF6J6t9h_actionscheduler_actions: Data: 0.06MB + Index: 0.11MB + Engine InnoDB
GRF6J6t9h_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_actionscheduler_logs: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_cfom: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
GRF6J6t9h_duplicator_pro_entities: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_duplicator_pro_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_ewwwio_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_lmfwc_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_lmfwc_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_lmfwc_licenses: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_lmfwc_licenses_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_nf3_action_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_nf3_chunks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_nf3_field_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_nf3_upgrades: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_options: Data: 3.08MB + Index: 0.09MB + Engine InnoDB
GRF6J6t9h_postmeta: Data: 12.14MB + Index: 0.42MB + Engine InnoDB
GRF6J6t9h_posts: Data: 4.22MB + Index: 0.13MB + Engine InnoDB
GRF6J6t9h_rcp_customers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_rcp_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_rcp_membershipmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_rcp_memberships: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
GRF6J6t9h_rcp_membership_counts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_rcp_payments: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
GRF6J6t9h_rcp_payment_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_rcp_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
GRF6J6t9h_rcp_subscription_level_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_restrict_content_pro: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_serial_numbers: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
GRF6J6t9h_serial_numbers_activations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_usermeta: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
GRF6J6t9h_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
GRF6J6t9h_uwp_form_extras: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_uwp_form_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_uwp_profile_tabs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_uwp_usermeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
GRF6J6t9h_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
GRF6J6t9h_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
GRF6J6t9h_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_woocommerce_software_activations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_woocommerce_software_licenses: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_xyz_ips_short_code: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_yoast_indexable: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
GRF6J6t9h_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
GRF6J6t9h_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
GRF6J6t9h_yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
GRF6J6t9h_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_zoo_cw_global_config: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
GRF6J6t9h_zoo_cw_product_attribute_swatch_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

### Post Type Counts ###

attachment: 30
cleverwa_accounts: 2
cmm4e_menu: 17
cmm4e_menu_location: 1
cmm4e_menu_theme: 3
condition_group: 2
custom_css: 1
customize_changeset: 6
elementor_library: 8
mc4wp-form: 1
nav_menu_item: 51
oembed_cache: 2
page: 24
portfolio: 6
post: 11
product: 1
restriction: 2
revision: 446
shop_order: 20
wpcf7_contact_form: 1

### Security ###

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

### Active Plugins (35) ###

Clever Addons for Elementor: by CleverSoft – 2.0.9
Clever Addons Pro for Elementor: by CleverSoft – 1.2.4
Clever Addons: by Zootemplate – 2.0.1
Clever Mega Menu Pro for Elementor: by CleverSoft – 1.0.9
Clever Portfolio: by CleverAddon – 1.0.3
Clever Swatches: by cleversoft.co – 2.2.2 – Installed version not tested with active version of WooCommerce 4.4.1
Clever WhatsApp Chat: by CleverSoft – 1.0.0
Clever WooCommerce Product Filter: by cleversoft – 1.0.3 – Installed version not tested with active version of WooCommerce 4.4.1
Contact Form 7: by Takayuki Miyoshi – 5.2.2
Woocommerce one page checkout and layouts: by BluePlugins – 2.4 – Installed version not tested with active version of WooCommerce 4.4.1
Duplicator Pro: by Snap Creek – 3.8.8
Dynamic Visibility for Elementor: by Dynamic.ooo – 3.0.1
Elementor Pro: by Elementor.com – 2.9.3
Elementor: by Elementor.com – 3.0.5
EWWW Image Optimizer: by Exactly WWW – 5.7.0
Facebook Messenger Live Chat for WordPress: by CleverAddon – 1.0.0
Happy Elementor Addons: by weDevs – 2.14.0
Insert PHP Code Snippet: by xyzscripts.com – 1.3.1
Jetpack by WordPress.com: by Automattic – 8.9
License Manager for WooCommerce: by Dražen Bebić – 2.2.0 – Installed version not tested with active version of WooCommerce 4.4.1
MC4WP: Mailchimp for WordPress: by ibericode – 4.8.1
Meta Box: by MetaBox.io – 5.3.3
N-Media WooCommerce Checkout Fields: by Najeeb Ahmad – 17.0 – Installed version not tested with active version of WooCommerce 4.4.1
Ninja Forms: by Saturday Drive – 3.4.26
Really Simple SSL: by Really Simple Plugins – 3.3.5
Restrict User Access: by Joachim Jensen - DEV Institute – 2.0
Restrict: by Restrict – 2.1.2 – Installed version not tested with active version of WooCommerce 4.4.1
Tawk.to Live Chat: by Tawkto – 0.4.2
UsersWP: by AyeCode Ltd – 1.2.2.6
W3 Total Cache: by BoldGrid – 0.14.4
Multi Currency for WooCommerce: by VillaTheme – 2.1.5.6 – Installed version not tested with active version of WooCommerce 4.4.1
WooCommerce Order Status Control: by SkyVerge – 1.13.0 – Installed version not tested with active version of WooCommerce 4.4.1
WooCommerce: by Automattic – 4.4.1
WP File Manager: by mndpsingh287 – 6.7
WP Mail SMTP: by WPForms – 2.3.1

### Inactive Plugins (0) ###

### Dropin Plugins (3) ###

advanced-cache.php: advanced-cache.php
maintenance.php: maintenance.php
object-cache.php: object-cache.php

### Settings ###

API Enabled: –
Force SSL: –
Currency: EUR (€)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)

Connected to WooCommerce.com: –

### WC Pages ###

Shop base: #1925 - /shop/
Cart: #1926 - /cart/
Checkout: #1927 - /checkout/
My account: #1928 - /my-account/
Terms and conditions: #4247 - /terms-conditions/

### Theme ###

Name: Cerato Child
Version: 2.1.3
Author URL: http://zootemplate.com
Child Theme: ✔
Parent Theme Name: Cerato
Parent Theme Version: 2.1.5
Parent Theme Author URL: https://zootemplate.com
WooCommerce Support: ✔

### Templates ###

Overrides: cerato/woocommerce/cart/cart-totals.php
cerato/woocommerce/cart/cart.php
cerato/woocommerce/cart/mini-cart.php
cerato/woocommerce/checkout/form-checkout.php
cerato/woocommerce/checkout/review-order.php
cerato/woocommerce/myaccount/form-login.php
/var/www/wordpress/wp-content/plugins/clever-swatches/templates/woocommerce/single-product/add-to-cart/variable.php
cerato/woocommerce/single-product/clever-swatches-image.php version 2.0.0 is out of date. The core version is 3.5.1
cerato/woocommerce/single-product/rating.php
cerato/woocommerce/single-product/tabs/tabs.php

Outdated Templates: ❌
					
					
						Learn how to update

### Action Scheduler ###

Complete: 168
Oldest: 2020-08-24 14:14:47 +0000
Newest: 2020-09-04 19:08:01 +0000

  • This topic was modified 4 hours, 23 minutes ago by toastyyy2.

The page I need help with: [log in to see the link]



Source link