Undefine variable $field_option_value
-
Pretty amazing collection of very useful items. Thanks!
When I attempted to turn on the “Manage robots.txt” in the Custom Code section, I got this warning displayed:
Warning: Undefined variable $field_option_value in /[hidden path]/wp-content/plugins/admin-site-enhancements/classes/class-settings-fields-render.php on line 324
The textbox was empty, even though I do have a robots.txt file on my host. When I added my robots.txt file to the textbox, save changes, then toggle the switch on/off, I don’t get the error. My instincts are telling me that the robots.txt file didn’t pre-load into the textbox object and that’s causing the warning message.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Undefine variable $field_option_value’ is closed to new replies.