plugin does not work so that the site will be disabled
Plug-in has already acted correctly and, most recently does not work.
Is it possible that the problem is from the host?
If so where is the problem?
please help me
Thank you, Bastien, for providing this plugin.
I find it quite useful, but unfortunately there are issues that keep me from actually using it.
The main issue I have is a consistent database error.
I hope I can help pointing you in the right direction, so that you may be able to fix it.
Since I first tried My shared widgets with WP 4.3.x, I have consistently had a DB error which did not change after updating to WP 4.4.x.
The error message originally read:
WordPress Database Error Table ‘wp_users’ doesn’t exist for query SELECT ‘user_nicename’ FROM wp_users WHERE ID =
The error is in the prefix of the table name wp_users, which should read dp_users.
When I looked at the code, I found that wp_users is hard-coded.
I changed your line of code
$a_req = 'SELECT ′user_nicename′ FROM wp_users WHERE ID = ' . $widget->post_author;
to read:
$usr_nice = $wpdb->base_prefix . 'users';
$a_req = 'SELECT ′user_nicename′ FROM ' . $usr_nice . ' WHERE ID = ' . $widget->post_author;
This had the nice effect that the original DB error was gone, but a new one showed up:
You have an error in your SQL syntax for the query SELECT ‘user_nicename’ FROM dp_users WHERE ID =
I checked the syntax in phpMyAdmin and found that the SQL syntax itself is ok, but $widget->post_author turns out empty.
This is where I got stuck. I hope you can find the error from here on, for I was not able to trace it back any further.
I’d appreciate any help you can give.
]]>It’s working great… awesome for multisite!!!
How do use the widget more than once per site? I want to use the same one for a home page sidebar and a blog page sidebar.
I could simply create another but then the Titles will conflict and I need same title on both.
Thanks.
]]>i resolved my previous thread, for the same issue, by disabling, then re-enabling, all the plugins.
however, as much as i like this plugin, is there anything that can be done that i don’t have to disable and re-enable all plugins each time i do a database restore??
i just learned the hard way, yet again, where the same issue is coming up each time and i have to start all over again.
here’s one the errors that i’m getting via the database…
[25-May-2013 21:00:26 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY
post_title' at line 1 for query ORDER BY
post_titlemade by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, eelvmkpg
anyone???
https://www.ads-software.com/extend/plugins/eelv-my-widgets/
]]>hi,
i really appreciate the time and effort the authors put into this plugin, it solves a huge problem for me, so thanks for that.
however, as much as everything seems to be working just fine, the plugin keeps throwing a server error and is filling the log with a repeating message on every click.
here is the message i am getting…
[03-May-2013 23:44:37 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ORDER BY post_title
‘ at line 1 for query ORDER BY post_title
made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘/home/********/wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, eelvmkpg
the bolded item gave me clue it was ur plugin causing me this issue. once i disabled the plugin, no more errors.
i’ve got this installed w/
php 5.3.23
MySQL version 5.1.68-cll
wp 3.5.1
wp multisite
if someone can let me know if there may might be a simple solution, i’d be grateful.
thanks
https://www.ads-software.com/extend/plugins/eelv-my-widgets/
]]>I got errors when creating new widget:
Warning: Missing argument 2 for wpdb::prepare(), called in /home/mysite/public_html/wp-content/plugins/eelv-my-widgets/widgets.php on line 42 and defined in /home/mysite/public_html/wp-includes/wp-db.php on line 990
Warning: Missing argument 2 for update_site_option(), called in /home/mysite/public_html/wp-content/plugins/eelv-my-widgets/widgets.php on line 128 and defined in /home/mysite/public_html/wp-includes/option.php on line 898
Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/wp-includes/wp-db.php:990) in /home/mysite/public_html/wp-includes/pluggable.php on line 876
I need to mention:
– I’m using WP 3.5 multi-site environment.
– I installed this plugin on a subdomain.
– The location is /home/mysite/subdomain/test/public_html/ …
– But the error said: /home/mysite/public_html/ …
https://www.ads-software.com/extend/plugins/eelv-my-widgets/
]]>I got this error on saving:
Warning: Missing argument 2 for update_site_option(), called in /home/adshope3/public_html/***-content/plugins/eelv-my-widgets/widgets.php on line 128 and defined in /home/adshope3/public_html/wp-includes/option.php on line 888
Warning: Cannot modify header information – headers already sent by (output started at /home/adshope3/public_html/wp-includes/option.php:888) in /home/adshope3/public_html/wp-includes/pluggable.php on line 881
https://www.ads-software.com/extend/plugins/eelv-my-widgets/
]]>