Hi pcubilles,
Thank you for reaching out and for the detailed description of the issue. It’s surprising to hear this because the feature editing is working perfectly in all of our testing environments. However, there can be several reasons for the “undefined” screen you’re seeing. Let’s go through some checks and possible solutions:
1. Verify Your Shortcode
Please make sure the shortcode you’re using has a valid ID.
It should look like this:
[wrc-pricing-table id="1"]
and not like this:
[wrc-pricing-table id=""]
An empty ID can cause unexpected issues when saving or updating features.
2. Check the Number of Features
PHP has a limit for how many input fields can be processed in a single form submission (this is controlled by the max_input_vars setting in your server’s PHP configuration).
- If you’ve added a very large number of features, the save process might be exceeding that limit, which can lead to an incomplete save or an “undefined” response.
- If this might be the case, try reducing the number of features temporarily and see if the issue persists.
3. Check Your Browser Console for Errors
When you click Update Feature and get the “undefined” screen:
- Right-click anywhere on the page and select Inspect (or press F12) to open the browser developer tools.
- Go to the Console tab.
- Try updating again and see if any red error messages appear.
If you see any errors, please copy them and send them to us. That will help us diagnose the problem more accurately.
4. Enable WordPress Debugging and Check the Log
To capture more details about what’s happening, please enable WordPress debugging:
- Open your
wp-config.php file and ensure these lines are set:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', false );
define( 'WP_DEBUG_LOG', true );
- After saving the file, try updating the features again in the plugin.
- Then, check the
wp-content/debug.log file on your server.
If you see any errors logged there, please send them to us so we can investigate further.
Once you’ve checked the above, feel free to reply with:
- The console log errors (if any),
- Any error messages found in your
wp-content/debug.log file after enabling WordPress debugging (as described in point #4),
- Or any additional screenshots that might help.
We’ll do our best to guide you further or provide a fix as quickly as possible.
Thank you for your patience and for using WRC Pricing Tables!
Best regards,
Iftekhar Alam