WordPress.org

Ready to get started?Download WordPress

Forums

WP-Syntax throwing preg_match() errors (8 posts)

  1. Derek Herman
    Member
    Posted 5 years ago #

    The latest version of wp-syntax 0.9.6 is throwing preg_match() errors when using php as the code language. I reverted back to 0.9.4 and they go away. Any ideas?

    http://wordpress.org/extend/plugins/wp-syntax/

  2. Alphawolf
    Member
    Posted 5 years ago #

    Having the same issue.

  3. Derek Herman
    Member
    Posted 5 years ago #

    Seems like something that should have been tested for, previous to a new version release. Well at least 0.9.4 still works after I reverted it. Good thing I figured out what was doing it to before I look to much like an amateur.

  4. I found where the issue was... if you comment out some code in the Geshi php language file, you can get rid of the errors.

    http://mitcho.com/blog/how-to/fixing-geshi-on-line-2132/

  5. Derek Herman
    Member
    Posted 5 years ago #

    Yeah, thanks for the heads up but I'll just wait till things get fixed before I do anything. 0.9.4 works perfectly and there really is no reason to update the plugin other than to make the circled 1 in my sidebar go away.

  6. rmm5t
    Member
    Posted 5 years ago #

    Sorry guys. GeSHi v1.0.8.4 seems to have a bunch of issues, and I really dropped the ball on the last WP-Syntax release. I will push a new release of WP-Syntax out later today that reverts the GeSHi version.

  7. Derek Herman
    Member
    Posted 5 years ago #

    Awesome, thanks for fixing that.

  8. khiscoli
    Member
    Posted 4 years ago #

    i have one syntax, i want to convert into preg_match syntax how can i .. ??

    if(!eregi("^select",$sql))

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags