Skip Navigation

[Resolved] Internal Server Error 500

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 8 replies, has 2 voices.

Last updated by Waqar 10 months, 3 weeks ago.

Assisted by: Waqar.

Author
Posts
#2639831

For hidden link, it appears that the connection between the database and my custom types and fields have been lost. I get the above error each time I try to add a new record to a custom type. I am able to view records and existing records display properly on the front end.

I would be happy to add username and password, and have a copy of my debug file...

Aloha,
Lars

#2639833

{"core":{"Wordpress":{"Multisite":"No","SiteURL":"https:\/\/www.americanpeptidesociety.org","HomeURL":"https:\/\/www.americanpeptidesociety.org","Version":"6.3.1","PermalinkStructure":"\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, wp_template, wp_template_part, wp_global_styles, wp_navigation, cred-form, cred-user-form, wp-types-group, wp-types-user-group, wp-types-term-group, thegem_pf_item, thegem_qf_item, thegem_title, thegem_footer, thegem_templates, vc_grid_item, tablepress_table, thegem_gallery, thegem_team_person, thegem_client, thegem_testimonial, view, view-template, news_research, website_sponsor, our-journal, sidebar, officer-or-councilor, past-president, obituary, award, contact-us, job_posting, event, member, proceeding, wpa-helper, cred_rel_form, vc4_templates","PostSatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, hidden"},"Server":{"jQueryVersion":"3.7.0","PHPVersion":"8.0.29","MySQLVersion":"5.7.42","ServerSoftware":"Apache"},"PHP":{"MemoryLimit":"256M","UploadMax":"32M","PostMax":"32M","TimeLimit":"30","MaxInputVars":"1000"}},"plugins":{"active_plugins":{"LayerSlider\/layerslider.php":{"Name":"LayerSlider","PluginURI":"https:\/\/layerslider.com\/","Version":"7.8.0","Author":"Kreatura Media","AuthorURI":"https:\/\/kreaturamedia.com","TextDomain":"LayerSlider","DomainPath":"\/assets\/locales","Network":false,"RequiresWP":"4.4","RequiresPHP":"5.4","UpdateURI":"","Title":"LayerSlider","AuthorName":"Kreatura Media"},"classic-editor\/classic-editor.php":{"Name":"Classic Editor","PluginURI":"https:\/\/wordpress.org\/plugins\/classic-editor\/","Version":"1.6.3","Author":"WordPress Contributors","AuthorURI":"https:\/\/github.com\/WordPress\/classic-editor\/","TextDomain":"classic-editor","DomainPath":"\/languages","Network":false,"RequiresWP":"4.9","RequiresPHP":"5.2.4","UpdateURI":"","Title":"Classic Editor","AuthorName":"WordPress Contributors"},"cred-frontend-editor\/plugin.php":{"Name":"Toolset Forms","PluginURI":"https:\/\/toolset.com\/home\/toolset-components\/?utm_source=plugin\u0026utm_medium=gui\u0026utm_campaign=forms#forms","Version":"2.6.17","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"cred-frontend-editor","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Forms","AuthorName":"OnTheGoSystems"},"duplicate-page\/duplicatepage.php":{"Name":"Duplicate Page","PluginURI":"https:\/\/wordpress.org\/plugins\/duplicate-page\/","Version":"4.5.2","Author":"mndpsingh287","AuthorURI":"https:\/\/profiles.wordpress.org\/mndpsingh287\/","TextDomain":"duplicate-page","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Duplicate Page","AuthorName":"mndpsingh287"},"filebird-wordpress-media-library-folders\/filebird.php":{"Name":"FileBird","PluginURI":"https:\/\/1.envato.market\/FileBird","Version":"3.1.2","Author":"Ninja Team","AuthorURI":"https:\/\/ninjateam.org","TextDomain":"filebird","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"FileBird","AuthorName":"Ninja Team"},"js_composer\/js_composer.php":{"Name":"WPBakery Page Builder","PluginURI":"https:\/\/wpbakery.com","Version":"7.0","Author":"Michael M - WPBakery.com","AuthorURI":"https:\/\/wpbakery.com","TextDomain":"js_composer","DomainPath":"\/locale\/","Network":false,"RequiresWP":"4.9","RequiresPHP":"","UpdateURI":"","Title":"WPBakery Page Builder","AuthorName":"Michael M - WPBakery.com"},"redirection\/redirection.php":{"Name":"Redirection","PluginURI":"https:\/\/redirection.me\/","Version":"5.3.10","Author":"John Godley","AuthorURI":"","TextDomain":"redirection","DomainPath":"\/locale","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Redirection","AuthorName":"John Godley"},"tablepress\/tablepress.php":{"Name":"TablePress","PluginURI":"https:\/\/tablepress.org\/","Version":"2.1.7","Author":"Tobias Bäthge","AuthorURI":"https:\/\/tablepress.org\/","TextDomain":"tablepress","DomainPath":"","Network":false,"RequiresWP":"5.8","RequiresPHP":"5.6.20","UpdateURI":"","Title":"TablePress","AuthorName":"Tobias Bäthge"},"thegem-elements\/thegem-elements.php":{"Name":"TheGem Theme Elements (for WPBakery)","PluginURI":"http:\/\/codex-themes.com\/thegem\/","Version":"5.9.1","Author":"Codex Themes","AuthorURI":"http:\/\/codex-themes.com\/thegem\/","TextDomain":"thegem-elements","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"TheGem Theme Elements (for WPBakery)","AuthorName":"Codex Themes"},"types\/wpcf.php":{"Name":"Toolset Types","PluginURI":"https:\/\/toolset.com\/?utm_source=typesplugin\u0026utm_campaign=types\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"3.4.20","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"types","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Types","AuthorName":"OnTheGoSystems"},"updraftplus\/updraftplus.php":{"Name":"UpdraftPlus - Backup\/Restore","PluginURI":"https:\/\/updraftplus.com","Version":"2.23.9.0","Author":"UpdraftPlus.Com, DavidAnderson","AuthorURI":"https:\/\/updraftplus.com","TextDomain":"updraftplus","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"https:\/\/updraftplus.com\/","Title":"UpdraftPlus - Backup\/Restore","AuthorName":"UpdraftPlus.Com, DavidAnderson"},"wp-super-cache\/wp-cache.php":{"Name":"WP Super Cache","PluginURI":"https:\/\/wordpress.org\/plugins\/wp-super-cache\/","Version":"1.9.4","Author":"Automattic","AuthorURI":"https:\/\/automattic.com\/","TextDomain":"wp-super-cache","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"WP Super Cache","AuthorName":"Automattic"},"wp-views\/wp-views.php":{"Name":"Toolset Views","PluginURI":"https:\/\/toolset.com\/?utm_source=viewsplugin\u0026utm_campaign=views\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"3.6.8","Author":"OnTheGoSystems","AuthorURI":"https:\/\/toolset.com","TextDomain":"wp-views","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Views","AuthorName":"OnTheGoSystems"}},"mu_plugins":{"installatron_hide_status_test.php":{"Name":"installatron_hide_status_test.php","PluginURI":"","Version":"","Description":"","Author":"","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"","AuthorName":""}},"dropins":{"advanced-cache.php":{"Name":"advanced-cache.php","PluginURI":"","Version":"","Description":"","Author":"","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"","AuthorName":""}}},"theme":{"Name":"TheGem Child","ThemeURI":null,"Author":"\u003Ca href=\u0022http:\/\/codex-themes.com\/thegem\/\u0022\u003ECodex Themes.\u003C\/a\u003E","AuthorURI":null,"Template":"thegem","Version":"1.0","TextDomain":null,"DomainPath":null},"extra-debug":{"types":{"add_resized_images_to_library":0,"images_remote":0,"images_remote_cache_time":"36","help_box":"by_types","hide_standard_custom_fields_metabox":"show","postmeta_unfiltered_html":"on","usermeta_unfiltered_html":"on"},"CRED":{"wizard":1,"cache_notice":1,"export_settings":1,"export_custom_fields":1,"autogeneration_email":{"subject":"Welcome new user","body":"[username]Your username is: %cuf_username%[\/username]\\n[nickname]Your nickname is: %cuf_nickname%[\/nickname]\\n[password]Your password is: %cuf_password%[\/password]"},"dont_load_cred_css":1,"dont_load_bootstrap_cred_css":0},"views":{"views_template_loop_blog":0,"wpv_bootstrap_version":1,"wpv_custom_conditional_functions":[],"wpv_custom_inner_shortcodes":[],"wpv_debug_mode":"","wpv_debug_mode_type":"compact","wpv_map_plugin":0,"wpv_show_hidden_fields":"","wpv_saved_auto_detected_framework":"","wpv_codemirror_autoresize":"","wpv_enable_pagination_manage_history":true,"wpv_enable_parametric_search_manage_history":true,"support_spaces_in_meta_filters":0,"allow_views_wp_widgets_in_elementor":0,"default_user_editor":"basic","default_wpa_editor":"basic","manage_meta_transient_method":"cron","editing_experience":"classic","disable_theme_settings":0,"views_template_for_post":788,"views_template_archive_for_officer-or-councilor":788,"views_template_archive_for_obituary":0,"views_template_for_obituary":897,"views_template_for_award":1052,"views_template_for_news_research":1229,"views_template_for_sidebar":1242,"views_template_for_job_posting":2100,"views_template_conditions_for_job_posting":[],"views_template_conditions_for_news_research":[],"views_template_conditions_for_obituary":[]},"installer":{"version":"3.1.1","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","bucket-url":"not assigned","subscription":"","last-successful-subscription-fetch":"none"},"toolset":{"api-url":"https:\/\/api.toolset.com\/","bucket-url":"https:\/\/wptypes.s3.amazonaws.com\/toolset-bucket-93.json","subscription":{"key":"dUfah96AtO","data":{"subscription_type":5737,"expires":"2024-03-24","status":"1","notes":"","order_id":"2576303","hasAutoRenewal":true},"registered_by":1,"site_url":"https:\/\/www.americanpeptidesociety.org"},"last-successful-subscription-fetch":"2023-08-31 01:12:23"}},"instances":{"\/home\/xqhstjlp7dt7\/public_html\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php":{"bootfile":"\/home\/xqhstjlp7dt7\/public_html\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php","version":"3.1.1","args":{"plugins_install_tab":"1","repositories_include":["toolset","wpml"],"site_key_nags":[{"repository_id":"toolset","product_name":"Toolset"}]},"delegated":true}}}}}

#2639955

Hi,

Thank you for contacting us and I'd be happy to assist.

Have you checked the server's error log, to see if any detailed errors or warnings are recorded? If not, I recommend temporarily turning on WordPress debugging and checking the server's error log.
( ref: https://wordpress.org/documentation/article/debugging-in-wordpress/ )

In case there are none, you're welcome to share temporary admin login details, along with the exact steps to see the error.

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

#2640635

Hi Lars,

Thank you for sharing the access details.

During troubleshooting, I noticed that it is possible to add a new post in some post types, while not in others.

For instance, I was able to add a new post in the 'Awards' custom post type, but not in the 'Contact US!'.

Also, it seems that when the website was recovered from the hack, some of the WordPress core files were either lost or the server's security is blocking/restricting them.

I'll recommend going to WP Admin -> Dashboard -> Updates and using the button 'Re-install version 6.3.1–en', to re-install the WordPress core files.
( This will not overwrite your website's settings or data )

In case the issue still persists, I'll need your permission to download a clone/snapshot of the website, to test this on a different server.

regards,
Waqar

#2640677

Hi Waqar,
I reloaded 6.3.1, and the problem persists... You have my permission to clone the site and proceed testing. Thank you so much for your help!

Aloha,
Lars

#2640997

Thank you for the permission.

I tested your website's clone on my test server and couldn't reproduce the issue of new custom post type creation on that. This suggests that something specific to your website's server is involved.

I'll recommend temporarily turning on WordPress debugging ( ref: https://wordpress.org/documentation/article/debugging-in-wordpress/ ), by replacing the following line of code from your website's 'wp-config.php' file:


define( 'WP_DEBUG', false );

With:


define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );

After that, you can try adding a new 'Contact US!' post and then check the error log, for detailed errors and warnings.
( You'll find the log in the file named 'debug.log' in the website's 'wp-content' folder )

Note: If you find these steps complicated, you can consult your hosting support team for that too.

Once you see any errors related to Toolset plugins, you're welcome to share them with us for further investigation.

#2641053

Thank you for your continued patience, Waqar. When I perform the above, I am back to getting the same notice displayed inside my backend, and the 500 error persists when I try to add any new custom items...

Notice: Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /home/xqhstjlp7dt7/public_html/wp-includes/functions.php on line 5905

Lars

#2641063

Waqar,

Since I am rebuilding this site, would it be rude of me to ask you to export the views and types on your cloned site? I am more interested in getting the data working on the new site, than repairing the old...

Many thanks and aloha,
Lars

#2641667

Rebuilding the website is a good idea since I'm seeing many abnormalities in the files and folder structure and unknown/suspicious files in the clone.

It would be more efficient if you maintain your own cloned/backup copy of the website, on a different server. It can be a different online server or even a local host server should do.

This way you can keep it for unlimited time and will be able to turn back to it anytime, during the rebuilding process.

You can download your website's duplicator package from the following link:
hidden link
( It is the same package that I used )

Here is the documentation link on how to deploy this duplicator package:
hidden link

#2642757

Thank you for your help and patience, Waqar 😉
Aloha,
Lars

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.