The fix is not too difficult, just modify line 105 to this:
$newvalue = array();
This will get rid of the error that is triggered on line 110 that prevents the plugin from being activated.
]]>Hi Team,
when i try to activate the plugin it is giving error like below. Please help
Warning: Illegal string offset ‘plugin_version’ in /home/baggicas/public_html/pruebas/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 110
Fatal error: Uncaught Error: Cannot use string offset as an array in /home/baggicas/public_html/pruebas/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php:111 Stack trace: #0 /home/baggicas/public_html/pruebas/wp-includes/class-wp-hook.php(286): yd_wpmuso_reset(”) #1 /home/baggicas/public_html/pruebas/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 /home/baggicas/public_html/pruebas/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/baggicas/public_html/pruebas/wp-admin/plugins.php(174): do_action(‘activate_yd-wpm…’) #4 {main} thrown in /home/baggicas/public_html/pruebas/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 111
]]>Hi, can you sync a complete section of events from one site to another site and that when it is fed there will automatically reflect to the other site?
]]>Guess it’s done. Wanted something like this for creating a network footer and the like.
https://www.ads-software.com/plugins/yd-wpmu-sitewide-options/
]]>No updates or reports in years, don’t want to test.
https://www.ads-software.com/plugins/yd-wpmu-sitewide-options/
]]>YD Network-wide Options shows up for all users giving them access to network wide options.
https://www.ads-software.com/plugins/yd-wpmu-sitewide-options/
]]>I installed this plugin so that I could replicate the settings for Active Directory Integration across a multisite install, however, after doing so, I lost the ability for any AD authentication to work. I have deleted the plugin, but I’m wondering if there is a table(s) or other things in the WP database that should also be removed to try and return the site to the way it was prior to the install.
THX
https://www.ads-software.com/plugins/yd-wpmu-sitewide-options/
]]>We have about 1200 sites in out network.
After applying the plugin settings, only about 150 sites get updated.
Looking at the mysql query log I see, that the UPDATE query has quit after updating 100+ sites. And it only updated rows where option_name = widget_yd_wpmuso.
When the query quit message appears in the log, the webUI shows the plugin name and what I assume to be a progress bar. The progress shown is just a fraction of the whole length of the bar.
We are in the middle of our WP network upgrade and now only a small portion of the sites work.
Are there any timeouts that could cause this?
By what I could see, the query stopped after 60-90 seconds.
How do I go about updating the whole network?
Regards, Mitja
https://www.ads-software.com/plugins/yd-wpmu-sitewide-options/
]]>With WP_DEBUG turned on in a WPMU 3.6.1 install when creating a site I get:
Notice: Undefined index: flush_rewrites in /path/to/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 867
The issue is in the yd_wpmuso_options_new_blog_action method on the line
if( $options['flush_rewrites'] ) {
Just change it to
if( !empty($options['flush_rewrites']) ) {
and you’re good.
https://www.ads-software.com/plugins/yd-wpmu-sitewide-options/
]]>Hi, I have recently checked server logs and came across a lot of the following alert messages (I have used xxx to hide sensitive paths and addresses):
Aug 23 01:42:26 xxx suhosin[3378]: ALERT – script tried to increase memory_limit to 209715200 bytes which is above the allowed value (attacker ‘178.18.114.51’, file ‘/srv/www/xxx/public_html/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php’, line 103)
There are various ips but all of them seem to be repeated.
There are also a few for ‘wp-admin/admin.php’ but nowhere near as many.
Also, the plugin code is showing:
Revision 4.0.1
– Bugfix in table structure and data replication
and then:
$yd_wpmuso_version = “4.0.0”;
Can you advise if there is anything that can be done to stop these large memory usage?
Thank you
https://www.ads-software.com/plugins/yd-wpmu-sitewide-options/
]]>I try to access the settings page and it give me a 404 error page.
https://www.ads-software.com/plugins/yd-wpmu-sitewide-options/
]]>Hi,
I am using the similar plugin with my site before but now i am just thinking to change it to YD Network options. The main issue i am facing is that have to update database manually once user register with site.
So is there any option in YD Network which automatically update database after every user registration so i don’t have to login to my admin and do all that manually. My current plugin is same but YD Network have more options then this one.
Can you please help in this so that i can change it asap. or find some other ways to solve this.
Thanks in advance
Ajay Kumar
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>Activated but receive an error 404 file not found when trying to access seettings.
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>When visiting the YD options page in admin I’m getting alot of PHP warnings:
Notice: Undefined property: wpdb::$_3wp_broadcast in /path/to/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 705
Notice: Undefined property: wpdb::$_3wp_broadcast_broadcastdata in /path/to/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 705
…
The fix was to change line 705 from
if( $wpdb->$post and $wpdb->$post == $table ) continue; //this is a WP core table
to
if( isset($wpdb->$post) and $wpdb->$post == $table ) continue; //this is a WP core table
Then
Notice: Undefined index: debug in /path/to/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 166
On line 166 change
if( $_POST['debug'] == 1 ) $d = true;
to
if( !empty($_POST['debug']) && $_POST['debug'] == 1 ) $d = true;
Then
Notice: unserialize() [function.unserialize]: Error at offset 0 of 18 bytes in /path/to/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 604
Notice: unserialize() [function.unserialize]: Error at offset 0 of 1 bytes in /path/to/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 604
…
On line 604 change
if( is_string( $option->option_value ) ) $uns = unserialize( $option->option_value );
to
if( is_string( $option->option_value ) ) $uns = @unserialize( $option->option_value );
Also
Notice: Undefined index: debug in /path/to/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 534
Change
if( $_POST['debug'] == 1 )
to
if( !empty($_POST['debug']) && $_POST['debug'] == 1 )
Also
Notice: Undefined index: page in /path/to/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 555
Change
echo '<input type="hidden" name="page" value="' . $_POST["page"] . '" />';
to
echo '<input type="hidden" name="page" value="' . (isset($_POST["page"]) ? $_POST["page"] : '') . '" />';
When submitting the form I get plenty more warnings:
Notice: Undefined index: yd_wpmuso-selected_options-0 in /path/to/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 1064
Notice: Undefined index: yd_wpmuso-selected_options-0 in /path/to/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 1065
Change
if( !is_array( $fields[$prefix . $key . '-' . $number] ) ) {
$value = html_entity_decode( stripslashes( $fields[$prefix . $key . '-' . $number] ) );
to
$field_name = $prefix . $key . '-' . $number;
if ( !isset($fields[$field_name]) )
$value = '';
elseif( !is_array( $fields[$field_name] ) ) {
$value = html_entity_decode( stripslashes( $fields[$field_name] ) );
Notice: Undefined index: debug in /path/to/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 760
Change
if( $_POST['debug'] == 1 ) $d = true;
to
if( !empty($_POST['debug']) && $_POST['debug'] == 1 ) $d = true;
That seems to get rid of them all for now.
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>In yd-wpmu-sitewide-options.php method yd_wpmuso_menu() you’re calling:
add_options_page(
__('YD Network-wide Options',
'yd-wpmuso'),
__('YD Network-wide Options', 'yd-wpmuso'),
8,
__FILE__,
'yd_wpmuso_options'
);
When WP_DEBUG is on this results in the PHP warning:
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /path/to/wp-includes/functions.php on line 2722
As per the documentation the third argument should be a capability – in your case probably manage_options?
Replace your above code with the following and you should be good to go:
function yd_wpmuso_menu() {
add_options_page(
__('YD Network-wide Options', 'yd-wpmuso'),
__('YD Network-wide Options', 'yd-wpmuso'),
'manage_options',
__FILE__,
'yd_wpmuso_options'
);
}
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>Pretty good idea for a plugin, would save me lots of time/energy. Any plans to continue on this?
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>This awesome plugin does’t work any more ??
I have a multisite subdomain installation.
WordPress 3.4 & YD Network-wide Options 4.0.1
It was working fine for me until I had WP 3.1 installed.
After upgrading WP now i am unable to replicate single site settings on multisite blogs. NONE
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>Would love this plug-in to work!
Unfortunately it causes every one of my 20+ sites to show up a blank white screen – including the login screen. The only way bring the site back is to delete the plugin through ftp.
I am using Manage WP across all my sites to keep them updated – maybe a conflict with the WP-worker plugin?
Not sure – need to dig further turning a few plugins off at a time. All sites are not using the same plugins either so may take a little time to determine commonalities between them all.
Will post back if/when I get a chance to play.
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>I’m testing this plugin so when I saw a setting I would like to change I came up with an idea that every setting should be editable and used as value to copy across other sites…
Cheers!
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>Hi.
I am running a multi-user WordPress installation at a college/university in Norway. Some groups of students and employees are allowed to create their own WordPress site in this multi-user installation. There are currently 709 sites created.
I am using YD Network-wide Options to make sure some settings are distributed to all blogs. Mainly settings about Directory Authentication Options, and some settings regarding which buttons to show in the editor.
A while back, when there were very few sites created, I seem to remember that updating the settings worked ok.
But now, if I have more than 4-5 settings ticked when I click “Update plugin settings”, the page seems to time out. With less than 4-5 settings ticked, the page updates OK.
So it seems that updating more than 4-5 settings for 709 sites is too much for the system to handle, and I wonder if there are some timeout settings I could increase to overcome this. I have already increased some settings in php.ini in an attempt to fix this issue.. here are my relevant php.ini settings:
max_execution_time = 240
max_input_time = 120
memory_limit = 512M
set_time_limit = 120
Ideas, anyone?
Kindly,
Svein Morten Rougn?
[sig moderated as per the Forum Rules]
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>Why would you make a plugin that allows users to automatically replicate the option for one blog across the entire network then put a back link to your site and force the user to manually disable that on each of the sites…
That’s like pulling a base64. I usually donate to plugins that do a good job but in this case I may reconsider after you get rid of the adware.
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>Seems to work but I’m getting this error message when ever I use the plugin. It’s immediately followed by a message saying that the update is complete.
Warning: Invalid argument supplied for foreach() in /home/***/public_html/wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 807
Also wondering if disabling the plugin is all I need to do to give subsites on the network full control of there individual settings again?
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>I appreciate the fact that this plugin is made freely available but I find the recent injection of a link to the developer’s freelance business in the footer disappointing. Even when “disabled” it injects the link as commented html into the page output. It’s disappointing to see this breach of trust in an otherwise very useful plugin. I’d like to encourage the developer to rethink how this feature is implemented, make this behavior a clear choice and truly disable footer when the user chooses to do so.
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>Hi, this is a great plugin, but every time I create a new site, i get this error:
Warning: Wrong parameter count for debug_backtrace() in /.../wp-content/plugins/yd-wpmu-sitewide-options/yd-wpmu-sitewide-options.php on line 638
These plugin settings are active:
Overwrite existing blog settings: X
Automatically apply future changes to all blogs: X
Spread options to new blogs: X
Any ideas?
thanks in advance!
https://www.ads-software.com/extend/plugins/yd-wpmu-sitewide-options/
]]>