• I set wp_debug to “true” to see errors on my site https://www.rentmothernature.com. My error list refers to 4 problems:
    1)”undefined variable: control ops in directory path …/wp-content/themes/rentmothernature/functions.php on line 35″. I have 7 of those for front end of site (lines 35, 60, 88, 115, 139 162 & 185 -2 of which -line 162 & 185- also appear in back-end dashboard (/admin).
    2)”get_theme_data is deprecated since version 3.4! Use wp-get theme() instead. In …wp-includes/functions.php on line 3391″.
    3)”wp-register_script was called incorrectly. Do not register the jquery script in administration area. To target the frontend theme, use the wp_enqueue_scripts hook…/functions.php on line 3560
    4)”wp-register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks…/functions.php on line 3560

  • The topic ‘debug errors re control_ops, functions.php in customized theme’ is closed to new replies.