• Resolved Paul

    (@paulrudy)


    I was trying to import this code snippet, which I haven’t used before, but it appears that many people have successfully used it in the past, it apparently has not been updated since March of this year.

    On import, I got the following message: “An error occurred when processing the import files.”

    I tried manually entering the php from the snippet, and I got this error:

    The code snippet you are trying to save produced a fatal error on line 622:
    
    syntax error, unexpected '.', expecting identifier (T_STRING)syntax error, unexpected '.', expecting identifier (T_STRING)"

    Line 622-624 are:

    if (preg_match('/url('(\.*?)')/',$css_block,$matches)) {
    	$retval[] = $matches[1];
    }

    I saw this topic had a similar parse issue. But this issue persists with version 2.14.5

    Any thoughts?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue importing popular code snippet’ is closed to new replies.