Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preg_match() expects parameter 2 to be string, array given #20

Closed
prigal opened this issue Jan 19, 2015 · 1 comment
Closed

preg_match() expects parameter 2 to be string, array given #20

prigal opened this issue Jan 19, 2015 · 1 comment

Comments

@prigal
Copy link

prigal commented Jan 19, 2015

Hi,

I recently updated (composer update) to latest 2.0 branch on my Laravel 4.1 project and I have an issue with parsedown-extra.

Error :

ErrorException
preg_match() expects parameter 2 to be string, array given (ParsedownExtra.php line 252)

Markdown syntax with error :

###Hello world
[Link](http://google.com)

Markdown without error (no link) :

###Hello world

My composer :

"graham-campbell/markdown": "~2.0"

In my composer.lock the only difference between my production (working) and my local version (not working) is parsedown version.

Production : 1.4.5
Local : 1.5.0

Temporary fix : set parsedown to version 1.4 in composer.json

@GrahamCampbell
Copy link
Owner

Please report this issue to parsedown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants