Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘_remove_visual_composer_generator’ not found or invalid function name in /home/customer/www/mykitts.com/public_html/wp-includes/class-wp-hook.php on line 307
and it is also showing this underneath that.
Last Updated onJanuary 17th, 2022 03:25 am
See screen shot image here:
https://mykitts.com/wp-content/uploads/2022/02/mykittsadminerror.png
Contact me directly if you would like login to check the error at [email protected]
]]>we get following error in all of the address fields in our shop:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'WC_GZD_Checkout' does not have a method 'set_formatted_billing_address' in /var/www/vhosts/manurefetish.com/httpdocs/wp-includes/class-wp-hook.php on line 287
this is caused by flexible checkout fields, we’ve tried another checkout field plugin and that works without issue, however we would still like to continue to use flexible checkout fields.
Will this error be fixed?
best regards
exxis
]]>Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘ADP\BaseVersion\Includes\Frontend’ does not have a method ‘woocommerce_checkout_update_order_review’ in XXXXX/wp-includes/class-wp-hook.php on line 287
### WordPress Environment ###
WordPress address (URL): https://www.alessiomesiano.com
Site address (URL): https://www.alessiomesiano.com
WC Version: 4.5.2
REST API Version: ✔ 4.5.2
WC Blocks Version: ✔ 3.1.0
Action Scheduler Version: ✔ 3.1.6
WC Admin Version: ✔ 1.5.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: LiteSpeed
PHP Version: 7.4.9
PHP Post Max Size: 128 MB
PHP Time Limit: 600
PHP Max Input Vars: 10000
cURL Version: 7.72.0
OpenSSL/1.1.1g
SUHOSIN Installed: –
MySQL Version: 5.7.31
Max Upload Size: 128 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔
### Database ###
WC Database Version: 4.5.2
WC Database Prefix: am_
Total Database Size: 29.71MB
Database Data Size: 26.35MB
Database Index Size: 3.36MB
am_woocommerce_sessions: Data: 0.05MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_actionscheduler_actions: Data: 0.08MB + Index: 0.11MB + Engine InnoDB
am_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
am_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
am_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
am_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
am_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
am_duplicator_pro_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
am_ed_downloadform: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_ed_emaillist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_ed_filter: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_ed_pluginconfig: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_eum_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_lrsync: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_lrsync_collections: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
am_lrsync_meta: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
am_lrsync_relations: Data: 0.01MB + Index: 0.01MB + Engine InnoDB
am_manage_schedule: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_mclean_refs: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
am_mclean_scan: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
am_ms_snippets: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
am_mystickyelement_contact_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_options: Data: 4.42MB + Index: 0.15MB + Engine MyISAM
am_postmeta: Data: 9.75MB + Index: 0.80MB + Engine MyISAM
am_posts: Data: 2.15MB + Index: 0.15MB + Engine MyISAM
am_rafflepress_contestants: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_rafflepress_entries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_rafflepress_giveaways: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
am_rank_math_internal_links: Data: 0.13MB + Index: 0.05MB + Engine InnoDB
am_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
am_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
am_rank_math_sc_analytics: Data: 0.25MB + Index: 0.14MB + Engine InnoDB
am_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM
am_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_revslider_sliders: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
am_revslider_slides: Data: 0.97MB + Index: 0.00MB + Engine MyISAM
am_revslider_static_slides: Data: 0.25MB + Index: 0.00MB + Engine MyISAM
am_snippets: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
am_socialsnap_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_swift_performance_image_optimizer: Data: 1.52MB + Index: 0.44MB + Engine InnoDB
am_swift_performance_warmup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
am_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
am_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
am_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
am_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
am_tm_taskmeta: Data: 0.01MB + Index: 0.02MB + Engine InnoDB
am_tm_tasks: Data: 0.01MB + Index: 0.01MB + Engine InnoDB
am_usermeta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM
am_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
am_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
am_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
am_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
am_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
am_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
am_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
am_wc_product_meta_lookup: Data: 0.01MB + Index: 0.05MB + Engine InnoDB
am_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
am_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_wdp_orders: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
am_wdp_order_items: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
am_wdp_rules: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
am_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
am_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_wfBlocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_wfConfig: Data: 1.50MB + Index: 0.01MB + Engine MyISAM
am_wfCrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_wfFileChanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_wfFileMods: Data: 2.48MB + Index: 0.49MB + Engine MyISAM
am_wfHits: Data: 0.05MB + Index: 0.01MB + Engine MyISAM
am_wfHoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_wfIssues: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
am_wfKnownFileList: Data: 1.33MB + Index: 0.15MB + Engine MyISAM
am_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_wfLocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_wfLogins: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
am_wfls_2fa_secrets: Data: 0.01MB + Index: 0.01MB + Engine InnoDB
am_wfls_settings: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
am_wfNotifications: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
am_wfPendingIssues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_wfReverseCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_wfSNIPCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
am_wfStatus: Data: 0.09MB + Index: 0.04MB + Engine MyISAM
am_wfTrafficRates: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
wp_smartiplog: Data: 0.01MB + Index: 0.00MB + Engine InnoDB
### Post Type Counts ###
amn_mi-lite: 1
attachment: 632
custom_css: 2
customize_changeset: 23
elementor_library: 1
events: 6
flickr_gallery: 1
fw-portfolio: 11
ims_countdown: 2
mylink: 1
nav_menu_item: 9
oembed_cache: 1
page: 58
paypal_buttons: 3
popup: 2
portfolio: 93
post: 50
postman_sent_mail: 250
product: 19
revision: 82
sell_media_item: 2
shop_coupon: 1
shop_order: 7
sl-insta-account: 1
sl-insta-feed: 1
sl-insta-media: 100
slider: 12
vc_grid_item: 2
vc_settings_preset: 1
vc4_templates: 1
vcv_templates: 9
wdi_instagram: 1
wds-slider: 1
wpcdt_countdown: 1
wpcf7_contact_form: 1
wpforms: 2
### Security ###
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔
### Active Plugins (33) ###
Redux: by Redux.io + Dovy Paukstys – 4.1.20
Advanced WordPress Backgrounds: by nK – 1.6.7
Advanced Custom Fields: by Elliot Condon – 5.9.1
Advanced Dynamic Pricing for WooCommerce: by AlgolPlus – 3.0.4 – Installed version not tested with active version of WooCommerce 4.5.2
Black Studio TinyMCE Widget: by Black Studio – 2.6.9
CMP - Coming Soon & Maintenance Plugin: by NiteoThemes – 3.8.6
Code Snippets: by Code Snippets Pro – 2.14.0
Contact Form 7: by Takayuki Miyoshi – 5.2.2
GDPR Cookie Consent: by WebToffee – 1.9.1
Disable Comments: by WPDeveloper – 1.11.0
Email download link: by Gopi Ramasamy – 2.9
Error Log Monitor: by Janis Elsts – 1.6.11
CAOS: by Daan van den Bergh – 3.7.7
WPBakery Page Builder: by Michael M - WPBakery.com – 6.4.0
LuckyWP Table of Contents: by LuckyWP – 2.1.4
Post Duplicator: by Metaphor Creations – 2.21
Post SMTP: by Yehuda Hassine – 2.0.15
PT Sansara Shortcodes: by Promo Theme – 1.0.36
Scheduled Post Trigger: by Jennifer Moss - Moss Web Works – 3.0
Search Exclude: by Roman Pronskiy – 1.2.6
Rank Math SEO: by Rank Math – 1.0.47.1
Social Snap Lite: by Social Snap – 1.1.11
Swift Performance: by SWTE – 2.2.1
TinyMCE Advanced: by Andrew Ozz – 5.5.0
Unyson: by ThemeFuse – 2.7.24
UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
DavidAnderson – 1.16.29
WooCommerce: by Automattic – 4.5.2
Wordfence Security: by Wordfence – 7.4.11
WP-Optimize - Clean, Compress, Cache: by David Anderson
Ruhani Rabin
Team Updraft – 3.1.4
WPCustom Category Image: by Eduardo Stuart – 2.1.13
WP/LR Sync: by Jordy Meow – 5.1.8
WP/LR Theme Assistant: by Jordy Meow – 0.5.3
WPS Hide Login: by WPServeur
NicolasKulka
tabrisrp – 1.5.6
### Inactive Plugins (4) ###
Easy Updates Manager: by Easy Updates Manager Team – 9.0.6
Image optimization service by Optimole: by Optimole – 2.5.3
RafflePress Lite: by RafflePress – 1.3.2
ShareThis Share Buttons: by ShareThis – 1.4.1
### Must Use Plugins (1) ###
Swift Performance early loader: by –
### 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: #7445 - /shop/
Cart: #7446 - /cart/
Checkout: #7447 - /checkout/
My account: ❌ Page visibility should be public
Terms and conditions: #1048 - /privacy-policy/
### Theme ###
Name: Sansara
Version: 2.2.3
Author URL: https://themeforest.net/user/ypromo
Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ✔
### Templates ###
Overrides: sansara/woocommerce/archive-product.php
sansara/woocommerce/cart/cart-empty.php
sansara/woocommerce/cart/cart-item-data.php
sansara/woocommerce/cart/cart-shipping.php
sansara/woocommerce/cart/cart-totals.php
sansara/woocommerce/cart/cart.php
sansara/woocommerce/cart/cross-sells.php
sansara/woocommerce/cart/mini-cart.php
sansara/woocommerce/cart/proceed-to-checkout-button.php
sansara/woocommerce/cart/shipping-calculator.php
sansara/woocommerce/checkout/cart-errors.php
sansara/woocommerce/checkout/form-billing.php
sansara/woocommerce/checkout/form-checkout.php
sansara/woocommerce/checkout/form-coupon.php
sansara/woocommerce/checkout/form-login.php
sansara/woocommerce/checkout/form-pay.php
sansara/woocommerce/checkout/form-shipping.php
sansara/woocommerce/checkout/payment-method.php
sansara/woocommerce/checkout/payment.php
sansara/woocommerce/checkout/review-order.php
sansara/woocommerce/checkout/terms.php
sansara/woocommerce/checkout/thankyou.php
sansara/woocommerce/content-product.php
sansara/woocommerce/content-product_cat.php
sansara/woocommerce/content-single-product.php
sansara/woocommerce/content-widget-product.php
sansara/woocommerce/global/breadcrumb.php
sansara/woocommerce/global/form-login.php
sansara/woocommerce/global/quantity-input.php
sansara/woocommerce/global/sidebar.php
sansara/woocommerce/global/wrapper-end.php
sansara/woocommerce/global/wrapper-start.php
sansara/woocommerce/loop/add-to-cart.php
sansara/woocommerce/loop/loop-end.php
sansara/woocommerce/loop/loop-start.php
sansara/woocommerce/loop/no-products-found.php
sansara/woocommerce/loop/orderby.php
sansara/woocommerce/loop/pagination.php
sansara/woocommerce/loop/price.php
sansara/woocommerce/loop/rating.php
sansara/woocommerce/loop/result-count.php
sansara/woocommerce/loop/sale-flash.php
sansara/woocommerce/notices/error.php
sansara/woocommerce/notices/notice.php
sansara/woocommerce/notices/success.php
sansara/woocommerce/order/form-tracking.php
sansara/woocommerce/order/order-again.php
sansara/woocommerce/order/order-details-customer.php
sansara/woocommerce/order/order-details-item.php
sansara/woocommerce/order/order-details.php
sansara/woocommerce/order/tracking.php
sansara/woocommerce/product-searchform.php
sansara/woocommerce/single-product/add-to-cart/external.php
sansara/woocommerce/single-product/add-to-cart/simple.php
sansara/woocommerce/single-product/add-to-cart/variable.php
sansara/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
sansara/woocommerce/single-product/add-to-cart/variation.php
sansara/woocommerce/single-product/meta.php
sansara/woocommerce/single-product/price.php
sansara/woocommerce/single-product/product-attributes.php
sansara/woocommerce/single-product/product-image.php
sansara/woocommerce/single-product/product-thumbnails.php
sansara/woocommerce/single-product/rating.php
sansara/woocommerce/single-product/related.php
sansara/woocommerce/single-product/review-meta.php
sansara/woocommerce/single-product/review-rating.php
sansara/woocommerce/single-product/review.php
sansara/woocommerce/single-product/sale-flash.php
sansara/woocommerce/single-product/share.php
sansara/woocommerce/single-product/short-description.php
sansara/woocommerce/single-product/tabs/additional-information.php
sansara/woocommerce/single-product/tabs/description.php
sansara/woocommerce/single-product/tabs/tabs.php
sansara/woocommerce/single-product/title.php
sansara/woocommerce/single-product/up-sells.php
sansara/woocommerce/single-product-reviews.php
sansara/woocommerce/single-product.php
sansara/woocommerce/taxonomy-product_cat.php
### Action Scheduler ###
Complete: 199
Oldest: 2020-08-21 09:03:58 +0000
Newest: 2020-09-20 05:25:38 +0000
]]>Fatal error: Class WP_Hook contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (ArrayAccess::offsetUnset) in /home5/altituh3/public_html/funkykat/wp-includes/class-wp-hook.php on line 510
I’ve tried deleting/disabling plugins, changing back to default theme, replacing class-wp-hook.php file but nothing worked. I’d just updated to the latest version of WordPress and enabled SSL when it threw this error
I have exactly the same issue as the OP, happening very recently with same errors;
[23-Dec-2018 15:27:02 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /home/**/public_html/wp-includes/class-wp-hook.php on line 275
I have also noticed this;
[26-Dec-2018 12:15:15 UTC] PHP Fatal error: Call to undefined function et_fb_enabled() in /home/**/public_html/wp-content/themes/Divi/includes/builder/framework.php on line 226
This makes sense as I use Genesis in my own themes and I’m not having an issue with them, it’s only this one site developed by someone else but hosted through me and using Divi that has a problem: in short I’m using the same hosting for all sites, so as my numerous (50+) Genesis sites seem fine it led me to think it’s a plugin/theme issue. Does everyone else having an issue with the error_log file very recently growing exponentially also use Divi?
]]>[01-May-2018 00:51:11 UTC] PHP Warning: array_keys() expects parameter 1 to be array, integer given in /public_html/wp-includes/class-wp-hook.php on line 271
[01-May-2018 00:51:11 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 275
[01-May-2018 00:51:11 UTC] PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-includes/class-wp-hook.php on line 277
[01-May-2018 00:51:11 UTC] PHP Warning: next() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 291
[01-May-2018 00:51:11 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 275
[01-May-2018 00:51:11 UTC] PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-includes/class-wp-hook.php on line 277
[01-May-2018 00:51:11 UTC] PHP Warning: next() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 291
[01-May-2018 00:51:11 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 275
[01-May-2018 00:51:11 UTC] PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-includes/class-wp-hook.php on line 277
[01-May-2018 00:51:11 UTC] PHP Warning: next() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 291
[01-May-2018 00:51:11 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /public_html/wp-includes/class-wp-hook.php on line 275
[01-May-2018 00:51:11 UTC] PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-includes/class-wp-hook.php on line 277
This cascades on for several hundred lines before the server maxes IO and crashes with a 503 error. I have tried googling for similar errors for fixes but most people who have had a similar error haven’t had a repeating error like this and it usually pointed to a specific plugin. I am at a bit of a loss.
Thank you.
]]>PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘sa_cp_get_cart_count’ not found or invalid function name in /home/**removed**/public_html/**removed**/wp-includes/class-wp-hook.php on line 298
I am using the Query Monitor plugin to help determine the cause. Query Monitor provides the Call Stack below and identifes the component as “Plugin: woocommerce-menu-bar-cart.
If I deactivate Woocommerce Menu Cart, the error message disappears.
Any thoughts?
Thanks!
Call Stack (obtained through Query Monitor plugin):
apply_filters(‘woocommerce_cart_contents_count’)
wp-content/plugins/woocommerce/includes/class-wc-cart.php:349
WC_Cart->get_cart_contents_count()
wp-content/plugins/woocommerce-menu-bar-cart/includes/wpmenucart-woocommerce.php:32
WPMenuCart_WooCommerce->menu_item()
wp-content/plugins/woocommerce-menu-bar-cart/wp-menu-cart.php:429
WpMenuCart->wpmenucart_menu_item()
wp-content/plugins/woocommerce-menu-bar-cart/wp-menu-cart.php:353
WpMenuCart->add_itemcart_to_menu()
wp-includes/class-wp-hook.php:298
apply_filters(‘wp_nav_menu_shop_menu_items’)
wp-includes/nav-menu-template.php:231
wp_nav_menu()
wp-content/themes/genesis/lib/functions/menu.php:87
genesis_get_nav_menu()
wp-content/themes/genesis/lib/functions/menu.php:145
genesis_nav_menu()
wp-content/themes/genesis/lib/structure/menu.php:116
genesis_do_subnav()
wp-includes/class-wp-hook.php:298
do_action(‘genesis_before_header’)
wp-content/themes/genesis/header.php:33
load_template(‘~/wp-content/themes/genesis/header.php’)
wp-includes/template.php:643
locate_template()
wp-includes/general-template.php:45
get_header()
wp-content/themes/genesis/lib/framework.php:24
genesis()
wp-content/plugins/genesis-connect-woocommerce/templates/single-product.php:85
I created a product, in a product category. Menu item linked to product category.
My product is available, but when I open the product, I can see the main photo, description, price, quantity, ‘Add to basket’ button but above description, the following error displays :
Warning
: call_user_func_array() expects parameter 1 to be a valid callback, function ‘toastie_wc_smsb_form_code’ not found or invalid function name in
/home/XXXXXX/wp-includes/class-wp-hook.php
on line
298
Note : above ‘XXXXXX’ is my complete hosting tree. Just masked it.
Screenshot :
Full-size screenshot : `https://i58.servimg.com/u/f58/17/85/51/09/woocom11.jpg
I’m experiencing this error (https://www….co.uk/wp-admin/post.php)
Has anyone had this before / any info on fixing the issue?
Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /srv/users/serverpilot/apps/…/public/wp-includes/class-wp-hook.php on line 298
Warning: Cannot modify header information – headers already sent by (output started at /srv/users/serverpilot/apps/…y/public/wp-includes/class-wp-hook.php:298) in /srv/users/serverpilot/apps/…/public/wp-admin/post.php on line 197
Warning: Cannot modify header information – headers already sent by (output started at /srv/users/serverpilot/apps/…/public/wp-includes/class-wp-hook.php:298) in /srv/users/serverpilot/apps/…/public/wp-includes/pluggable.php on line 1179
Thank you
]]>Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /htdocs/public/www/wp-includes/class-wp-hook.php on line 298
The site is pedrofaria.pt
In case it’s relevant, i’m on a Mac Air running Yosemite 10.10.2 with Safari, Chrome and Firefox showing the same message. Since i’m relatively ignorant with code and php, i have no clue what went wrong or how to fix it. Help much appreciated, thank you!
Pedro
]]>