This support ticket is created vor 3 Jahren, 3 Monaten. There's a good chance that you are reading advice that it now obsolete.
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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
I have activated debug mode in wp-config:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
I am trying to debug this snippet when submiting a form:
<?php
toolset_snippet_security_check() or die( 'Direct access is not allowed' );
add_action('cred_before_save_data', 'tj_set_seccion_sugerencia');
function tj_set_seccion_sugerencia ($form_data) {
error_log( ' Outside if ------------' );
if ($form_data['id']==1684){
error_log( 'Insidel if ------------' );
error_log( print_r( $_POST, true));
}
}
I submit the form whit id=1684. Then I open debug.log:
[18-Aug-2021 10:53:12 UTC] PHP Notice: Trying to get property 'base' of non-object in /home/giowvmpi/public_html/wp-content/plugins/folders/includes/folders.class.php on line 2819
[18-Aug-2021 10:53:31 UTC] PHP Notice: Trying to get property 'base' of non-object in /home/giowvmpi/public_html/wp-content/plugins/folders/includes/folders.class.php on line 2819
Debug log doesn't display any info about my snippet error_log
That is strange. Can you please share problem URL where you added the form as well as admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
When I try to access the wp-admin link you shared I get the following message and I could not access the wp-admin:
- Detectada petición de login incorrecta!