preg_match() expects parameter 2 to be string
-
I hosted my site on awardspace.com,everything works fine but whenever I click on “Proceed to paypal” I get the erros:
Warning: preg_match() expects parameter 2 to be string, array given in /srv/disk6/3590679/www/{website address}/wp-includes/class-wp-block-parser.php on line 417
Warning: strlen() expects parameter 1 to be string, array given in /srv/disk6/3590679/www/{website address}/wp-includes/class-wp-block-parser.php on line 489
The thing is, I worked on the site on xampp before I imported it to the awardspace.com hosting site and everything works fine. Even if I export my current site’s files using All-in-one WP Migration and test it out on Xampp it still works fine. I don’t know what could be wrong with it.
The topic ‘preg_match() expects parameter 2 to be string’ is closed to new replies.