LeRedac
Forum Replies Created
-
Forum: Plugins
In reply to: [Quick Page/Post Redirect Plugin] Attempt to read property “ID”Hello. Same here :
PHP 7.4.33
WordPress 6.1.1[08-Mar-2023 03:38:05 UTC] PHP Notice: Trying to get property 'ID' of non-object in wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php on line 2220
- This reply was modified 2 years ago by LeRedac.
Forum: Plugins
In reply to: [Buy Me a Coffee - Button and Widget Plugin] My username is getting declinedHello, it’s same for me, my username is getting declined
The version is
- PHP 8.1.2-1ubuntu2.9
- WP – 6.1.1
- This reply was modified 2 years, 2 months ago by LeRedac.
Hello. Indeed the entries in the multisites was empty. I deleted them and kept only that of the main site which contained a value. The error no longer appears now. Thanks for your help.
Hi again
I have fixed the bug on my side but I am not sure that this is the right solution. Everything is working properly now (ostensibly).
Change line 65 (application/Core/Config.php) :
if (array_key_exists($option, self::$config))
To
if (is_array(self::$config) && array_key_exists($option, self::$config))
Thank you ?? Merci
Forum: Plugins
In reply to: [PayPal for WooCommerce] Not redirect to thankyou pageHello.
Thank you, but this option is disabled.
I tried to change the WooCommerce options for the user. But with the new version of woocommerce, whatever the choice, the option on PayPal Express Checkout is not activatable.
Moreover, when an order is paid, it remains pending payment. I do not understand what settings I have to do please ?
Alan
Ok thank you
Forum: Themes and Templates
In reply to: use one header.php for multi siteinclude (TEMPLATEPATH . '/header.php');
or if you whant one header per blog use something like this :
<?php // Exenple whith : // ID Web name Site 1 = 1 << First Blog (principal) // ID Web name Site 2 = 2 // ID Web name Site 3 = 3 // ID Web name Site 4 = 4 // Get current Blog ID $blog_id = get_current_blog_id(); // Get Theme directory url $theme_url=get_template_directory_uri(); // Make conditions if ($blog_id =="2"){include (TEMPLATEPATH . '/header2.php');} elseif ($blog_id =="3"){include (TEMPLATEPATH . '/header3.php');} elseif ($blog_id =="4"){include (TEMPLATEPATH . '/header4.php');} else { include (TEMPLATEPATH . '/header.php');} // Else = ID 1 - First Blog ?>
Forum: Plugins
In reply to: Update selected value on form submission (ACF)Hello,
try
if ( !empty( $_POST["fields"]['field_53207aa87753e'] ) ) {
Forum: Plugins
In reply to: [Plugin Advanced Custom Fields] Display Google map on your themeNice, thank you Fabio ??
Forum: Plugins
In reply to: [Plugin Advanced Custom Fields] Display Google map on your themeTry to see and use Google map API >>
https://developers.google.com/maps/documentation/javascript/examples/infowindow-simple
I try the make same fonction for the futur ??
I’m come back here if is work for meBy
Forum: Plugins
In reply to: [Plugin Advanced Custom Fields] Display Google map on your themeOr if you whant display Google Maps whith Multiple Markers from multiple custom post type, try use wp-query with array
$args = array( 'post_type' => array('YOUR_CUSTOM_POST_TYPE_NAME', 'SECOND_CUSTOM_POST_TYPE_NAME'), 'posts_per_page' => -1 );
Forum: Plugins
In reply to: [Plugin Advanced Custom Fields] Display Google map on your themeHello Brianj , is it not the second method that could solve your problem ? The one I proposed in the above post ? >> Google Maps whith Multiple Markers
Forum: Plugins
In reply to: [Newsletters] Blank sreen after instaland thank you for the help and for the plugins