• Resolved Random Dev

    (@chumpchangewd)


    Hi. Thanks for a flexible, easy-to-use plugin.

    I ran into a bug, perhaps. When I try to save certain plugin admin settings (like the page /wp-admin/edit.php?post_type=rcno_review&page=recencio-book-reviews&tab=templates_tab), I’m redirected to a page that only contains the following errors:

    Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/blah/plugins/recencio-book-reviews/admin/settings/class-rcno-reviews-css-tidy.php on line 959
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/blah/plugins/recencio-book-reviews/admin/settings/class-rcno-reviews-css-tidy.php:959) in /home/blah/wp-includes/pluggable.php on line 1296
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/blah/plugins/recencio-book-reviews/admin/settings/class-rcno-reviews-css-tidy.php:959) in /home/blah/wp-includes/pluggable.php on line 1299

    The settings still save although the errors appear.

    I have the latest version of WP, theme, and all plugins. I’m on a managed VPS and have never seen this error before installing this plugin today, and changing settings.

    Hope you can help.

Viewing 1 replies (of 1 total)
  • Plugin Author Kemory Grubb

    (@w33zy)

    Hello @chumpchangewd

    Thanks for catching these PHP warnings. They are from a 3rd party library (csstidy) that my plugin uses. I will update the library in the next update to fix the errors.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP errors upon saving plugin settings’ is closed to new replies.