Plugin version: 11.9
PHP version: 7.4.33
<b style=”color: rgb(68, 68, 68); font-size: medium; white-space-collapse: collapse;”>Fatal error: require_once(): Failed opening required ‘/wp-content/plugins/wp-reviews-plugin-for-google/static/block-editor/block-editor.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in /wp-content/plugins/wp-reviews-plugin-for-google/trustindex-plugin.class.php on line 279</b>
]]>I narrowed the problem down to this one and managed to partially ‘fix’ the problem by casting the variable inside the round() function to (int), but that doesn’t fix the issue of the tier prices showing as 0.00. All other products seem to work fine, as you’d expect them to. Changing the separator in the percentages to a . instead of a , doesn’t seem to make a difference.
Can you see what causes the issue in the code based on the below error?
Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /www/promolijn_373/public/wp-content/plugins/tier-pricing-table/views/frontend/tiered-pricing-table.php:178 Stack trace: #0 /www/promolijn_373/public/wp-content/plugins/tier-pricing-table/views/frontend/tiered-pricing-table.php(178): round('7,4074', 2) #1 /www/promolijn_373/public/wp-content/plugins/tier-pricing-table/src/Core/FileManager.php(110): include('/www/promolijn_...') #2 /www/promolijn_373/public/wp-content/plugins/tier-pricing-table/src/PricingTable.php(132): TierPricingTable\Core\FileManager->includeTemplate('/www/promolijn_...', Array) #3 /www/promolijn_373/public/wp-content/plugins/tier-pricing-table/src/PricingTable.php(79): TierPricingTable\PricingTable->renderPricingTableHTML(Object(WC_Product_Variable), Object(WC_Product_Variation), Array) #4 /www/promolijn_373/public/wp-content/plugins/tier-pricing-table/src/Frontend/ProductPageHandler.php(190): TierPricingTable\PricingTable->renderPricingTable(399, '4851') #5 /www/promolijn_373/public/wp-includes/class-wp-hook.php(310): TierPricingTable\Frontend\ProductPageHandler->renderPricingTableOnProductPage('') #6 /www/promolijn_373/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #7 /www/promolijn_373/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /www/promolijn_373/public/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variable.php(85): do_action('woocommerce_aft...') #9 /www/promolijn_373/public/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/www/promolijn_...') #10 /www/promolijn_373/public/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1756): wc_get_template('single-product/...', Array) #11 /www/promolijn_373/public/wp-includes/class-wp-hook.php(310): woocommerce_variable_add_to_cart('') #12 /www/promolijn_373/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #13 /www/promolijn_373/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #14 /www/promolijn_373/public/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1702): do_action('woocommerce_var...') #15 /www/promolijn_373/public/wp-includes/class-wp-hook.php(310): woocommerce_template_single_add_to_cart('') #16 /www/promolijn_373/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #17 /www/promolijn_373/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #18 /www/promolijn_373/public/wp-content/themes/flatsome/woocommerce/single-product/layouts/product-no-sidebar.php(40): do_action('woocommerce_sin...') #19 /www/promolijn_373/public/wp-includes/template.php(787): require('/www/promolijn_...') #20 /www/promolijn_373/public/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template('/www/promolijn_...', false) #21 /www/promolijn_373/public/wp-content/themes/flatsome/woocommerce/content-single-product.php(42): wc_get_template_part('single-product/...', 'no-sidebar') #22 /www/promolijn_373/public/wp-includes/template.php(787): require('/www/promolijn_...') #23 /www/promolijn_373/public/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template('/www/promolijn_...', false) #24 /www/promolijn_373/public/wp-content/themes/flatsome/woocommerce/single-product.php(39): wc_get_template_part('content', 'single-product') #25 /www/promolijn_373/public/wp-includes/template-loader.php(106): include('/www/promolijn_...') #26 /www/promolijn_373/public/wp-blog-header.php(19): require_once('/www/promolijn_...') #27 /www/promolijn_373/public/index.php(17): require('/www/promolijn_...') #28 {main} thrown in /www/promolijn_373/public/wp-content/plugins/tier-pricing-table/views/frontend/tiered-pricing-table.php on line 178
First of all, Ive had a problem with Action Scheduler and
saving changes in page edit, changes did not show up. The error with Action Scheduler was displayed when trying to install and enable All in one SEO, Rank Math, WP Rocket.
In the database in actionscheduler tables, Primary Key I had ID = 0, I updated the value and added autoincrement.
Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Duplicate entry ‘0’ for key ‘PRIMARY’ in /home/users/multitech/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /home/users/multitech/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(242): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /home/users/multitech/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(327): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /home/users/multitech/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(315): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action)) #3 /home/users/multi in /home/users/multitech/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44
This solved the problem with ActionScheduler, but I cant check saving pages. And more, then it started logging me out of the wordpress panel constantly, redirecting me to 404 page.
I also thought it was a problem with no woocommerce, but I installed it after changes in database. I really dont know what is going on
Fatal error: Cannot declare class AIOS_Abstracted_Ids, because the name is already in use in?/home/********/public_html/***.********.***/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-abstract-ids.php?on line?9
No other plug-ins are used.
WordPress Version 6.2.2
PHP 8.2.6
Not sure if this is already covered earlier
Website with Forminator was working ok, when suddenly got a fatal error caused by Forminator: Fatal error: require_once(): Failed opening required ‘/home/vol8_8/…/…/htdocs/wp-content/plugins/forminator/library/class-api.php’ (include_path=’.:/usr/share/pear/’) in?/home/vol8_8/…/…/htdocs/wp-content/plugins/forminator/forminator.php?on line?74
When looking in the File mgr cannot even find the folder named “htdocs/wp-content/plugins/forminator/library”
Any ideas how to solve?
WordPress version 6.1.1
Active theme: Neve (version 3.5.4)
Current plugin: Forminator (version 1.23.3) PHP version 7.4.8
Thx and gr, Khouseyn
]]>I’ve migrated my page from a local host to an online domain, and after restoring the backup I get an error:
Fatal error: Uncaught Error: Class ‘UCAddon_post_list_elementor’ not found
I’ve used Elementor to create the website.
Any idea how to fix this issue?
Karolina
]]>PHP Fatal error: Uncaught Error: Undefined constant "USER_SWITCHING_OLDUSER_COOKIE" in /wp-content/plugins/user-switching/user-switching.php:1352 Stack trace: #0 /wp-content/plugins/user-switching/user-switching.php(490): user_switching_get_olduser_cookie() #1 /wp-content/plugins/user-switching/user-switching.php(542): user_switching::get_old_user() #2 /wp-includes/class-wp-hook.php(307): user_switching->action_admin_bar_menu(Object(WP_Admin_Bar)) #3 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #4 /wp-includes/plugin.php(524): WP_Hook->do_action(Array) #5 /wp-includes/admin-bar.php(95): do_action_ref_array('admin_bar_menu', Array) #6 /wp-includes/class-wp-hook.php(307): wp_admin_bar_render('') #7 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #8 /wp-includes/plugin.php(476): WP_Hook->do_action(Array) #9 /wp-admin/admin-header.php(267): do_action('in_admin_header') #10 /wp-admin/admin.php(239): require_once('/Users/...') #11 /wp-admin/plugins.php(10): require_once('/Users/...') #12 {main} thrown in /wp-content/plugins/user-switching/user-switching.php on line 1352
I’m activating the plugin on after_switch_theme
hook, like this:
function theme_init() { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); activate_plugin( 'user-switching/user-switching.php' ); } add_action( 'after_switch_theme', 'theme_init' );
Here’s the scenario:
This error disappears when you refresh the page, it appears only for one time after switching the theme.
]]>Fail2Ban causes FATAL ERROR in WP-Cron, IE. wp-cron CRASHES and stops working.
Since 03/03/2022 (AU time)
From PHP errors txt:
[05-Mar-2022 03:53:20 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to org\lecklider\charles\wordpress\wp_fail2ban\feature\log_message() must be of the type string or null, array given, called in /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/class-wp-hook.php on line 307 and defined in /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-content/plugins/wp-fail2ban/feature/plugins.php:233
Stack trace:
#0 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/class-wp-hook.php(307): org\lecklider\charles\wordpress\wp_fail2ban\feature\log_message()
#1 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/plugin.php(474): WP_Hook->do_action()
#3 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-content/plugins/wp-fail2ban-addon-contact-form-7/functions.php(52): do_action()
#4 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/class-wp-hook.php(309): com\wp_fail2ban\addons in /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-content/plugins/wp-fail2ban/feature/plugins.php on line 233
[05-Mar-2022 12:20:25 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to org\lecklider\charles\wordpress\wp_fail2ban\feature\log_message() must be of the type string or null, array given, called in /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/class-wp-hook.php on line 307 and defined in /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-content/plugins/wp-fail2ban/feature/plugins.php:233
Stack trace:
#0 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/class-wp-hook.php(307): org\lecklider\charles\wordpress\wp_fail2ban\feature\log_message()
#1 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/plugin.php(474): WP_Hook->do_action()
#3 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-content/plugins/wp-fail2ban-addon-contact-form-7/functions.php(52): do_action()
#4 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/class-wp-hook.php(309): com\wp_fail2ban\addons in /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-content/plugins/wp-fail2ban/feature/plugins.php on line 233
[05-Mar-2022 13:27:59 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to org\lecklider\charles\wordpress\wp_fail2ban\feature\log_message() must be of the type string or null, array given, called in /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/class-wp-hook.php on line 307 and defined in /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-content/plugins/wp-fail2ban/feature/plugins.php:233
Stack trace:
#0 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/class-wp-hook.php(307): org\lecklider\charles\wordpress\wp_fail2ban\feature\log_message()
#1 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /usr/home/barefootwarrior/public_html/wp-il0m0goe0d/wp-includes/plugin.php(474): WP_Hook->do_action()
===== end copy —–
Fail2Ban is DEACTIVATED until we hear from you.
Thank you Mr @Lecklider
Clemens
]]>Fatal error: Uncaught Error: Class ‘PPVersionNotices\Module\MenuLink\Module’ not found in /home/[domain_name]/domains/[domain_name]/public_html/wp-content/plugins/capability-manager-enhanced/vendor/publishpress/wordpress-version-notices/src/ServicesProvider.php:47 Stack trace: #0 /home/[domain_name]/domains/[domain_name]/public_html/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php(118): PPVersionNotices\ServicesProvider->PPVersionNotices\{closure}(Object(Pimple\Container)) #1 /home/[domain_name]/domains/[domain_name]/public_html/wp-content/plugins/capability-manager-enhanced/vendor/publishpress/wordpress-version-notices/includes.php(54): Pimple\Container->offsetGet(‘module_menu_lin…’) #2 /home/[domain_name]/domains/[domain_name]/public_html/wp-content/plugins/capability-manager-enhanced/includes/CoreAdmin.php(14): require_once(‘/home/[domain_name]/…’) #3 /home/[domain_name]/domains/[domain_name]/public_html/wp-content/plugins/capability-manager-enhanced/capsman-enhanced.php(132): PublishPress\Capabi in /home/[domain_name]/domains/[domain_name]/public_html/wp-content/plugins/capability-manager-enhanced/vendor/publishpress/wordpress-version-notices/src/ServicesProvider.php on line 47
]]>