Title: php errors when previewing pages
Last modified: July 18, 2020

---

# php errors when previewing pages

 *  Resolved [auntnana21](https://wordpress.org/support/users/auntnana21/)
 * (@auntnana21)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/php-errors-when-previewing-pages/)
 * I am happy with this plugin – to an extent. First, just let me say that forbidding
   customers to submit a support request via the contact us form on your own plugin
   support site on the weekends is just ludicrious. I understand a company may not
   work on the weekends, but refusing to let anyone fill out the conact us form????
   Seriously!
 * Anywho, anytime I make a change to a page and want to view it first by clicking
   the “preview changes” I get a page with errors:
    Warning: strpos() expects parameter
   1 to be string, array given in /home/site/public_html/wp-content/plugins/contact-
   form-by-supsystic/classes/frame.php on line 481
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/site/public_html/wp-content/plugins/contact-form-by-supsystic/classes/
   frame.php:481) in /home/site/public_html/wp-includes/functions.php on line 6221
 * When I try to actually save the page, I get:
    Warning: strpos() expects parameter
   1 to be string, array given in /home/site/public_html/wp-content/plugins/contact-
   form-by-supsystic/classes/frame.php on line 481
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/site/public_html/wp-content/plugins/contact-form-by-supsystic/classes/
   frame.php:481) in /home/site/public_html/wp-includes/functions.php on line 6221
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/site/public_html/wp-content/plugins/contact-form-by-supsystic/classes/
   frame.php:481) in /home/site/public_html/wp-admin/post.php on line 231
 * The changes save and everything works on the site frontend, I just have to hit
   a back button after each page save on the backend and move on from there. The
   line of code indicated is: if(is_admin() && strpos($page, frameCfs::_()->getModule(‘
   adminmenu’)->getMainSlug()) !== false)
 * I changed themes to basic twenty-seventeen, 19, etc. to no avail. Deactivated
   every other plugin to no avail. Any help is greatly appreciated.
    -  This topic was modified 5 years, 10 months ago by [auntnana21](https://wordpress.org/support/users/auntnana21/).
    -  This topic was modified 5 years, 10 months ago by [auntnana21](https://wordpress.org/support/users/auntnana21/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [Support Ole](https://wordpress.org/support/users/trsupsys/)
 * (@trsupsys)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/php-errors-when-previewing-pages/#post-13148624)
 * Hello.
    Thank you for contacting us regarding your question.
 * >  I understand a company may not work on the weekends, but refusing to let anyone
   > fill out the conact us form???? Seriously!
 * We have already fixed this.
    As for Warning. We will test it and release hotfix.
 * Best regards,
    Ole

Viewing 1 replies (of 1 total)

The topic ‘php errors when previewing pages’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-by-supsystic/assets/icon-256x256.png?rev=1422396)
 * [Contact Form by Supsystic](https://wordpress.org/plugins/contact-form-by-supsystic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-by-supsystic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-by-supsystic/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-by-supsystic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-by-supsystic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-by-supsystic/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 1 reply
 * 2 participants
 * Last reply from: [Support Ole](https://wordpress.org/support/users/trsupsys/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/php-errors-when-previewing-pages/#post-13148624)
 * Status: resolved