Okay
  Public Ticket #3132699
PHP warnings
Closed

Comments

  •  1
    felixdodd started the conversation

    Hi, as from today I get loads of PHP warnings when editing my website. I think my ISP may have updated PHP but have no understanding of this. Can you help me remove these warnings please? Example of warnings below...



    Warning: preg_match() expects parameter 2 to be string, array given in /home/customer/www/felixdodd.com/public_html/wp-includes/class-wp-block-parser.php on line 417

    Warning: strlen() expects parameter 1 to be string, array given in /home/customer/www/felixdodd.com/public_html/wp-includes/class-wp-block-parser.php on line 489

    Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 11 in /home/customer/www/felixdodd.com/public_html/wp-content/plugins/js_composer_salient/include/autoload/hook-vc-grid.php on line 163

    Warning: Cannot modify header information - headers already sent by (output started at /home/customer/www/felixdodd.com/public_html/wp-includes/class-wp-block-parser.php:417) in /home/customer/www/felixdodd.com/public_html/wp-admin/post.php on line 231

  •  2,958
    Andrew replied

    Hello Felix,

    Thank you for getting in touch and for bringing this to our attention.

    What version of PHP are you using?

    Could you try the newest to the oldest one and see if this improves. From the errors, we see that there is only one reference to the salient wpbakery page builder.
    Also, make sure there are no updates pending for this plugin in appearance \ install plugins. If the issue persists please check with your hosting provider support to see if they can assist.

    Thank You.