WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] Upgraded WordPress to 3.6 - Next Gen Gallery No Longer Workds (19 posts)

  1. ATSMPodcast
    Member
    Posted 11 months ago #

    Once upgrading WordPress to 3.6, I get all sorts of errors...

    In the header:

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    In the site's body where I have a slideshow to open the page:

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in http://SITE(s') NAME WITHHELD]/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    PLEASE help!

    http://wordpress.org/plugins/nextgen-gallery/

  2. emilysparkle
    Member
    Posted 11 months ago #

    i just get a "no images were found" on the gallery listing page i had set up.

  3. Sergey
    Member
    Posted 11 months ago #

    We have the same problem after updating to WP 3.6 and NextGen. Thumbnails not showing up. Checked the folder for Gallery and photos/thumbnails are there. But we dont see them in backend/post page.

  4. thirdpotato
    Member
    Posted 11 months ago #

    Yup it's not working for me either. Getting:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 303651 bytes) in /home/content/70/3889270/html/tobylotak/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/simplehtmldom/simplehtmldom/simple_html_dom.php on line 382

    on my page: http://tobylotak.com/cast/

    I had to roll back to an earlier version because my site is live and it was breaking important pages on my site.

  5. kill3r97
    Member
    Posted 11 months ago #

    theres any way to downgrade wordpress 3.6 to 3.5.2 so i can get my site up.

  6. photocrati
    Member
    Plugin Author

    Posted 11 months ago #

    Hey all, this issue has been resolved in our latest beta here: http://www.nextgen-gallery.com/nextgen-gallery-latest-beta/ . You can go ahead and install that following instructions and it should resolve that error you're seeing, or alternatively you can choose to rollback until we push out our next update: http://www.nextgen-gallery.com/how-to-rollback-a-version/ which we hope to have available within this next week.

    Hope that helps!
    --Becky

  7. Andrew Behla
    Member
    Posted 11 months ago #

    I uploaded the 2.0.2 latest beta and still get the error message at the top of the page.

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in /home/superl8/public_html/buschdesign.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in /home/superl8/public_html/buschdesign.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 5 in /home/superl8/public_html/buschdesign.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/router/class.routing_app.php on line 484 - See more at: http://www.buschdesign.com/#sthash.nZbifsib.dpuf

    I cleared all caches, history and reset the browser and get the same results. The admin says I'm running the latest beta 2.0.2 so I'm not sure what else I can do.

    Thanks for any help you can provide.

  8. photocrati
    Member
    Plugin Author

    Posted 11 months ago #

    @behladesign: Passing this on to the developers to look at. This is the first case I think where that error wasn't resolved in the upgrade. Erick

  9. photocrati
    Member
    Plugin Author

    Posted 11 months ago #

    @behladesign: Actually, I also wanted to say that if you'd like us to look at your site, you can submit a bug report via our forum and include WP and FTP credentials. If you do, say Erick asked you to submit credentials regarding the preg_match issue.

  10. Andrew Behla
    Member
    Posted 11 months ago #

    Thanks @photocrati! Can you please send me the info to the forum? I looked at the site: http://www.photocrati.com/ and didn't see a forum.

  11. photocrati
    Member
    Plugin Author

    Posted 11 months ago #

    Our apologies, typo. He meant form. Our bug report form is located here: http://www.nextgen-gallery.com/report-bug :)

    --Becky

  12. Andrew Behla
    Member
    Posted 11 months ago #

    Thanks, I just sent in the request.

  13. Andrew Behla
    Member
    Posted 11 months ago #

    I was able to fix the code for the error message.

    The problem is on Nextgen plugin. File name is and path is nextgen-gallery/products/photocrati_nextgen/modules/router

    Problematic line is

    $param_regex = "#/((?P<id>{$id}){$param_sep})?({$param_prefix}[-_]?)?{$quoted_key}{$param_sep}(?P<value>[^/\?]+)/?#i";

    ===================
    Before it was (Line no 484)

    if (preg_match($param_regex, $source, $matches)) {

    I did this

    if (@preg_match($param_regex, $source, $matches)) {

  14. emilysparkle
    Member
    Posted 11 months ago #

    after following the instructions, i still get the same error i got before (no images were found) but now it appears on my page twice. http://bodyartbyshara.com/gallery/

  15. emilysparkle
    Member
    Posted 11 months ago #

    sadly even the latest update still isn't working for me. i'm back to getting the error message only once though. the shortcode i use simply calls all albums. [album id=0]

  16. photocrati
    Member
    Plugin Author

    Posted 11 months ago #

    @emilysparkle: We're mostly dealing with the preg_match error in this thread. I see from above your is a no images found message.

    For future reference, can you start a new thread when the issue you have is different from the original poster? Otherwise, as happened here, we totally over look it. Especially given the recent volume.

    As for your error, first, to confirm, it's only happening for that one specific shortcode, right? That is [album id=0]? I just want to be sure it's not a more general problem.

    As you probably saw, that short code SHOULD be fixed in 2.0.10. So a few questions:

    *Can you go to your plugins page and confirm you are running 2.0.10
    *Since you had to update manually to 2.0.20, are you confident/sure you uploaded all the new files successfully?
    *Can you go to that page/post, just delete that shortcode and actually retype it. I know it will be the same, but I just want to try it.

    If you've done all that and you are still having the issue, we'll need to take another look at it. Please, if you can, submit a bug report. Even better if you'd be willing to submit WordPress and possibly FTP credentials here:

    http://www.nextgen-gallery.com/report-bug/

    Can you try going to that post,

  17. photocrati
    Member
    Plugin Author

    Posted 11 months ago #

    @behladesign: thanks for the update and letting us know what resolved that. I'll pass that info on to our developers.

  18. elvin77
    Member
    Posted 11 months ago #

    The problem is on Nextgen plugin. File name is and path is nextgen-gallery/products/photocrati_nextgen/modules/router

    Problematic line is

    $param_regex	 = "#/((?P<id>{$id}){$param_sep})?({$param_prefix}[-_]?)?{$quoted_key}{$param_sep}(?P<value>[^/\?]+)/?#i";

    This $param_regex pattern-string part looks just so wrong there - never must be used direct injection of variables into regexp pattern. There must be used preg-quote() .
    @see http://php.net/manual/en/function.preg-quote.php

    ===================
    Before it was (Line no 484)

    if (preg_match($param_regex, $source, $matches)) {

    I did this

    if (@preg_match($param_regex, $source, $matches)) {

    Hopefully @devs will not put that as a "fix" - this is just ignoring errors in regexp pattern.

    My solution was to revert back to ver 1.9.x. Latest ver messed up WP's routings.

  19. emilysparkle
    Member
    Posted 11 months ago #

    @photocrati - thanks for the help. i posted the bug to the system you suggested and this latest update has fixed my problem.

Reply

You must log in to post.

About this Plugin

About this Topic