dalingzaf
Forum Replies Created
-
Forum: Plugins
In reply to: [Ocean Extra] fatal Error with new versionTrue @pwcircuits, I thought I did update the theme.
Updating the theme does work fine and resolves errors & unwanted behaviour.
If you encounter this error disable the ocean-extra plugin and update the theme and then, of course, re-enable it.
Prevent it by updating the theme first.
But this is still a major error on the development side if you consider a theme that aren’t scheduled to auto-update and there are (fatal error)dependencies between the theme and this plugin. This is going to cause a huge issue over the next few hours as the auto updates kick off.. my guess.
- This reply was modified 2 years, 3 months ago by dalingzaf.
Forum: Plugins
In reply to: [Ocean Extra] fatal Error with new versionSame here. No solution yet. Had to restore the site as there is not an easy bypass. Disabling the plugin gave me access again but the page options are inaccessible and headers display incorrectly. Presumably, the error occurred during DB updates which affects the site too and will not be an easy fix if you can’t roll back. Good luck. Disabling auto-updates on all sites. I have no time for further investigation.
Fatal error: Cannot redeclare oceanwp_webfonts_enqueue() (previously declared in /wp-content/plugins/ocean-extra/includes/compatibility/ocean.php:94) in /wp-content/themes/oceanwp/inc/customizer/controls/typography/webfonts.php on line 128
Forum: Plugins
In reply to: [Coming Soon Badge for WooCommerce] Badge not working on loopHi @wpcentrics
Can you please assist to check if your plugin is compatible with the OceanWP theme? The badge is displayed on the single product page but not in the shop/loop. I verified that the action woocommerce_shop_loop_item_title is in the woocommerce template (using the default). Also, I spotted a remove action in the theme code here:
/wp-content/themes/oceanwp/inc/woocommerce/woocommerce-config.php:543
public function remove_elements() { remove_action( 'woocommerce_before_shop_loop_item', 'woocommerce_template_loop_product_link_open', 10 ); remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_product_link_close', 5 ); remove_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_show_product_loop_sale_flash', 10 ); remove_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 ); remove_action( 'woocommerce_shop_loop_item_title', 'woocommerce_template_loop_product_title', 10 ); remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 ); remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 ); remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); }
Can you assist? It is a popular theme, if it is a compatibility issue, will you consider fixing it?
Thanks
As stated, my issue was case sensitivity.
Have a look in your wp-config.php file for the table prefix setting used with your database. Ensure that the letters are all lowercase.
For example:Change
$table_prefix = 'wp_OdcSA_';
to
$table_prefix = 'wp_odcsa_';
Hope it helps.
I had this issue and noticed that my table prefix had capital letters in and the function maybe_create_table in wp-content\plugins\woocommerce\packages\woocommerce-blocks\src\Installer.php fails to identify that the table already exists in the if statement on line 93 at the time of writing this.
if ( in_array( $table_name, $wpdb->get_col( ‘SHOW TABLES’, 0 ), true ) ) {
return true;
}Anyway, I just reverted to all lower case prefix letters which resolved the error.
Forum: Plugins
In reply to: [Admin Columns] Replace date_i18n() with new wp_date()This thread helped resolved my issue of Time displaying different to my timezone settings after a whole day debugging.
Thanks @guido07111975, My issue was related to the comment “don’t change PHP time zone with date_default_timezone_set() (this one is hard requirement for correct core operation!)” in your link.- This reply was modified 4 years, 6 months ago by dalingzaf.
Forum: Plugins
In reply to: [WP Mail Logging] contextual_help is deprecated since version 3.3.0Refer to this comment in the FAQ:
https://www.ads-software.com/support/topic/deprecated-use-of-contextual_help/
line 345 in \wp-content\plugins\wp-mail-logging\src\WPML_OptionsManager.php can be changed to:
add_action( 'add_help_tab', array( &$this, 'create_settings_panel' ), 10, 3 );
This should be updated in the source code. Disclaimer: I haven’t done any of my own testing to validate this fix but WordPress throws no errors when applied.
- This reply was modified 4 years, 7 months ago by dalingzaf.