Home › Forums › Bugs and Troubleshooting › Error "WordPress database error Table 'wp_fpropdf_layouts' already exists…"
Tagged: server log, wp_fpropdf_layouts
- This topic has 7 replies, 3 voices, and was last updated 8 years, 5 months ago by Casey.
-
AuthorPosts
-
Casey HancockGuest
We are getting this log error constantly from FORMIDABLEPRO2PDF. It could eventually fill up the server logs in a hurry with high traffic volume. We have an enterprise license for Formidable Pro and Pro license for PRO2PDF. This is on a brand new install of the plugins. We didn’t use either plugin before the start of this project and we installed them both at the same time.
Formidable by itself seems to be working. I haven’t attempted to use PRO2PDF yet as I’m still building forms.
I’m having a hard time diagnosing the problem. Any suggestions?
[Sun May 01 18:27:41.147213 2016] [:error] [pid 14735] [client 123.456.789.000 17423] WordPress database error Table ‘wp_fpropdf_layouts’ already exists for query RENAME TABLE wp_fxlayouts TO wp_fpropdf_layouts made 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, fpropdf_set_charset
*NOTE: This error recurs every time a form is accessed.
adminKeymasterWe have checked the error, and this is not a plugin wide issue, we need to see the error on your server to correct the issue. Please complete this form if we are able to login.
Casey HancockGuestUnfortunately, we can’t give you access to this site. Nothing personal, but it’s just too much of a security risk to the client. Can I give you some other details? Any other error logs or details I can provide?
IgorParticipantHello,
My error logs are filled with these errors as well, even if not identical, I’m sure the cause is the same . The error is logged every time I click/reload site, even in WP admin. Even when I’m on pages that have nothing to do with forms. I’m not sure what it affects, plugin seems to work, however, my logs are filled with it, and finding any other errors is basically impossible, as these push everything out. Error is logged literally every few minutes, or whenever there is activity what it seems. I host with WPEngine, and I’d be more than happy to provide access to my staging environment if necessary.
Thanks!
Error:
[Thu May 05 07:47:33.939033 2016] [:error] [pid 19255] [client 71.84.53.51:49392] WordPress database error Table ‘wp_fpropdf_layouts’ already exists for query RENAME TABLE wp_fxlayouts TO wp_fpropdf_layouts /* From [hipaaexpert.staging.wpengine.com/wp-admin/admin-ajax.php] in [/nas/content/staging/hipaaexpert/wp-content/plugins/formidablepro-2-pdf/fpropdf.php:169] */ made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, fpropdf_set_charset, referer: http://hipaaexpert.staging.wpengine.com/wp-admin/post-new.php?post_type=page
[Thu May 05 07:49:33.616706 2016] [:error] [pid 19186] [client 71.84.53.51:50777] WordPress database error Table ‘wp_fpropdf_layouts’ already exists for query RENAME TABLE wp_fxlayouts TO wp_fpropdf_layouts /* From [hipaaexpert.staging.wpengine.com/wp-admin/admin-ajax.php] in [/nas/content/staging/hipaaexpert/wp-content/plugins/formidablepro-2-pdf/fpropdf.php:169] */ made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, fpropdf_set_charset, referer: http://hipaaexpert.staging.wpengine.com/wp-admin/post-new.php?post_type=page
[Thu May 05 07:51:34.613481 2016] [:error] [pid 30255] [client 71.84.53.51:52073] WordPress database error Table ‘wp_fpropdf_layouts’ already exists for query RENAME TABLE wp_fxlayouts TO wp_fpropdf_layouts /* From [hipaaexpert.staging.wpengine.com/wp-admin/admin-ajax.php] in [/nas/content/staging/hipaaexpert/wp-content/plugins/formidablepro-2-pdf/fpropdf.php:169] */ made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, fpropdf_set_charset, referer: http://hipaaexpert.staging.wpengine.com/wp-admin/post-new.php?post_type=page
adminKeymasterIgor, please complete this form if we are able to login and check the errors.
adminKeymasterWe updated the plugin today. Try updating to the latest version to see if the log entries have stopped on your installation.
IgorParticipantHello,
I updated the plugin. Seems to have stopped the errors. If the problem will surface again I will let you know. Thank you for your help and support!
CaseyGuestIt looks like we were able to get it working on our site, too. There was still an issue after we updated the plugin, though. The dev guru at our web host was able to fix it. Here’s the information he provided to me about what he fixed:
PLUGIN: formidablepro-2-pdf
VERSION: 2.26
FILE: fpropdf.php
LINE: 169
ISSUE: The query does not check if the table already exists before running the RENAME query, therefore if the table already exists constantly throws an error (filling up log files). -
AuthorPosts