[22-May-2023 13:01:57 UTC] WordPress database error Table 'mywebsite.wp_rcp_memberships' doesn't exist for query SELECT * FROM voUS_rcp_memberships m INNER JOIN voUS_restrict_content_pro r
ON m.object_id = r.id
WHERE m.status = 'active' AND m.disabled = 0 AND m.gateway IN ('free','manual')
AND r.price = 0 AND m.customer_id NOT IN (
SELECT customer_id FROM wp_rcp_memberships WHERE status = 'active' AND gateway NOT IN ('free','manual') and disabled = 0 GROUP BY customer_id
) made by do_action('wp_ajax_nopriv_stellarwp_telemetry_send_data'), WP_Hook->do_action, WP_Hook->apply_filters, RCP\StellarWP\Telemetry\Telemetry\Telemetry_Subscriber->send_telemetry_data, RCP\StellarWP\Telemetry\Telemetry\Telemetry->send_data, RCP\StellarWP\Telemetry\Telemetry\Telemetry->get_send_data_args, RCP\StellarWP\Telemetry\Data_Providers\Debug_Data->get_data, WP_Debug_Data::debug_data, apply_filters('debug_information'), WP_Hook->apply_filters, RCP_Telemetry->add_rcp_info_to_telemetry, RCP_Telemetry_Info->total_free_customers
[22-May-2023 13:01:57 UTC] WordPress database error Table 'mywebsite.wp_rcp_memberships' doesn't exist for query SELECT m.customer_id FROM wp_rcp_memberships m
INNER JOIN wp_rcp_customers c ON m.customer_id = c.id
WHERE status IN ('expired','cancelled') OR m.customer_id IN (
SELECT m.customer_id FROM wp_rcp_memberships m INNER JOIN wp_restrict_content_pro r
ON m.object_id = r.id
WHERE m.status = 'active' AND m.disabled = 0 AND m.gateway IN ('free','manual')
AND r.price = 0 AND m.customer_id NOT IN (
SELECT customer_id FROM wp_rcp_memberships WHERE status = 'active' AND gateway NOT IN ('free','manual') and disabled = 0 GROUP BY customer_id
)
)
GROUP BY m.customer_id; made by do_action('wp_ajax_nopriv_stellarwp_telemetry_send_data'), WP_Hook->do_action, WP_Hook->apply_filters, RCP\StellarWP\Telemetry\Telemetry\Telemetry_Subscriber->send_telemetry_data, RCP\StellarWP\Telemetry\Telemetry\Telemetry->send_data, RCP\StellarWP\Telemetry\Telemetry\Telemetry->get_send_data_args, RCP\StellarWP\Telemetry\Data_Providers\Debug_Data->get_data, WP_Debug_Data::debug_data, apply_filters('debug_information'), WP_Hook->apply_filters, RCP_Telemetry->add_rcp_info_to_telemetry, RCP_Telemetry_Info->total_no_membership_customers
]]>I have a strange problem and I hope you can help me with that. The following login information causes the problem:
Username: Testorino (could be anything else)
Password: A*B”C§D3E^F
The strange thing is: It works perfectly fine when logging in using the WP login form on the website.
But when I try to login via code using wp_authenticate providing the same data it fails:
$check_WPAUTH = wp_authenticate($user, $pass);
Also wp_signon fails:
$creds = array(
'user_login' => $user,
'user_password' => $pass,
'remember' => false
);
$user = wp_signon( $creds, false );
Is there anything I am doing wrong? Do you have any idea?
EDIT: It says the password is wrong using this:
$user = 'Testorino';
$pass = 'A*B"C§D3E^F';
]]>So “wp_” is probably hardcoded somewhere and it should use the correct dynamic setting.
I changed my database prefix back to wp_ and all is fine again. So I can continue setting this up.
]]>get_invoice_count() is hardwired to select from the table wp_postmeta.
This causes an error when table prefix is something other than wp_.
After installing the security all in one plugin, I went into settings and follow the instructions to increase my wordpress website security.
One of them was to change the database default prefix(wp_) to another prefix. I clicked on “generate a random prefix”. After that, I was redirected to a page, to log in with my password and my website data is gone. It now says
“HELLO WORLD!
NOVEMBER 25, 2016 1 COMMENT
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!”
I can no longer log in on the wordpress admin panel. The password does not work. I am locked out and I have no clue why.
What happened? How do I fix it?
Please help.
]]>https://www.ads-software.com/plugins/woocommerce/
]]>I am in the process of moving two WordPress sites to a new hosting provider. One new site is working fine, the other is not showing any posts newer than 2011. When I looked at the database of the problem site using phpMyAdmin, I saw that there was a set of tables in the database with a bl_ prefix and a set with the expected wp_ prefix. The blog appears to be showing only the posts from bl_posts and not the posts or pages that are in the wp_ tables. The bl_ tables are in the current stc-rochester.org site, but it’s displaying the proper content.
I tried deleting the bl_ tables. At that point, when I reloaded the site, I was prompted to install WordPress, which took me back to Hello World. I was able to get back to the nothing newer than 2011 situation by creating a new database and importing today’s backup from the current site.
I believe the bl_ prefixes date back to a site hack in 2011 that used the thumbs.php exploit.
How do I get the wp_ content to display?
Thanks
Ben
‘You appear to have already installed WordPress. To reinstall please clear your old database tables first.’
So I followed the advice given here:
https://www.ads-software.com/support/topic/already-installed-to-reinstall-please-clear-your-old-database-tables-first?replies=12
In short I changed the table prefix using filezilla (by right clicking on wp-config.php and going to view/edit and changing the wp_ to wp1_. Then saved and updated the file.
Then went back to word press and now I get this message:
Parse error: syntax error, unexpected ‘WP_DEBUG’ (T_STRING) in /users/escotb/www/wordpress/wp-config.php on line 71
So I changed the configurations back to wp_ but I still get the message.
Any ideas would be greatly appreciated!!
]]>I learned to go to wp-config.php and change $table_prefix = ‘wp_’ into my own. But when? I tried the following:
-installed WP application with installatron.
-went to files, wp_config.php and changed wp_ into sock_
-went to ….com/wp-admin and finished the WP install
This doesn’t seem to do the trick, because the standard wp_ prefix is still in most files. wp_posts and wp_users etc. Only the wp_ in wp-config.php is changed.
How to really change this prefix, and also; how to be sure I’ve changed it correctly?
Without using a plugin, it’s for a fresh, brand new, installation.
https://www.ads-software.com/plugins/wordpress-move/
]]>