Title: Update Problems
Last modified: August 31, 2016

---

# Update Problems

 *  Resolved [jhcrowe](https://wordpress.org/support/users/jhcrowe/)
 * (@jhcrowe)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/)
 * With the latest update I receive the following error:
 * Warning: strpos() expects parameter 1 to be string, array given in /homepages/
   32/d620937806/htdocs/clickandbuilds/JoshuaCrowe2963/wp-content/plugins/nextgen-
   gallery/products/photocrati_nextgen/modules/nextgen_basic_album/package.module.
   nextgen_basic_album.php on line 119
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/update-problems-25/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/update-problems-25/page/2/?output_format=md)

 *  [pinballw](https://wordpress.org/support/users/pinballw/)
 * (@pinballw)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434487)
 * +1 Same issue here as well.
 *  [pinballw](https://wordpress.org/support/users/pinballw/)
 * (@pinballw)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434494)
 * So I did some research on my end and, for now at least, I resolved the issue 
   of the “Warning: strpos() expects parameter 1 to be string” error by doing the
   following:
 * changed line 119 in the file package.module.nextgen_basic_album.php
    from: if(
   strpos($gallery_id, ‘a’) === 0) { to: if (strpos((string) $gallery_id, ‘a’) =
   == 0) {
 * Looking forward to a proper release fixing this.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434635)
 * [@pinballw](https://wordpress.org/support/users/pinballw/) – Thanks for sharing
   your work-around but in general we are not seeing this as a wide-spread issue.
 * [@jhcrowe](https://wordpress.org/support/users/jhcrowe/) – What troubleshooting
   steps have you taken since you have seen this issue on your site?
 * Thanks!
 * – Cais.
 *  [worchyld](https://wordpress.org/support/users/worchyld/)
 * (@worchyld)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434650)
 * I get the same issue. I don’t want to be editing the php file if an update comes.
   
   Its certainly does come up, its when you try to add albums
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434651)
 * **[@worchyld](https://wordpress.org/support/users/worchyld/)**: If you require
   assistance then, as per the [Forum Welcome](https://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic.
 *  Thread Starter [jhcrowe](https://wordpress.org/support/users/jhcrowe/)
 * (@jhcrowe)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434652)
 * I cleared the cache to see if that would help and there were not any changes.
   I was thinking about uninstalling the plug-in but I did not want to lose all 
   of my albums…..any thoughts?
 *  [wplove3268](https://wordpress.org/support/users/wplove3268/)
 * (@wplove3268)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434655)
 * +1 same issue. [@pinballw](https://wordpress.org/support/users/pinballw/) fix
   worked for me.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434660)
 * [@jhcrowe](https://wordpress.org/support/users/jhcrowe/) – Uninstalling and re-
   installing will not affect your NextGEN Gallery images, galleries, albums, etc.…
   provided you do re-activate it as well (*grin*).
 * We will be reviewing [@pinballw](https://wordpress.org/support/users/pinballw/)’
   s work-around but you can also continue checking for conflicts with other active
   plugins and/or your current theme to see if there is anything there as well.
 * Thanks!
 * – Cais.
 *  Thread Starter [jhcrowe](https://wordpress.org/support/users/jhcrowe/)
 * (@jhcrowe)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434665)
 * I just uninstalled the plugin and re-installed. It did not fix the error.
 *  Thread Starter [jhcrowe](https://wordpress.org/support/users/jhcrowe/)
 * (@jhcrowe)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434738)
 * Could you provide the complete path to the file:
    package.module.nextgen_basic_album.
   php I would like to make the quick change to get things up and going.
 * Thanks!
 *  [Toto Habschned](https://wordpress.org/support/users/totohabschned/)
 * (@totohabschned)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434743)
 * The file you are looking for is located in
    `/wp-content/plugins/nextgen-gallery/
   products/photocrati_nextgen/modules/nextgen_basic_album/`
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434766)
 * [@totohabschned](https://wordpress.org/support/users/totohabschned/) – Thanks!
 * – Cais.
 *  [juergenp](https://wordpress.org/support/users/juergenp/)
 * (@juergenp)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434799)
 * Hi Cais,
 * have the same error after update to 2.1.43 like jhcrowe has.
    Did the workaround
   as pinballw described. It works, the error-message disappears, but also the line
   with the link(s) back to other albums are gone 🙁 Therefore the workaround is
   not suitable for me. Is there any way to go back to a former version without 
   that error? Sorry to say, I didn’t know the version before my update, shame on
   me 🙁 did also a new insert into the page where the albums are display (as that
   helped in the older case we had), but now no changes 🙁
 * best regards
    Juergen
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434819)
 * [@juergenp](https://wordpress.org/support/users/juergenp/) – Although it would
   still likely be best to start your own topic as this one is not providing the
   assistance you were looking for to find any previously published version of the
   plugin just look under the “Developers” menu item.
 * Here’s the direct link: [https://wordpress.org/plugins/nextgen-gallery/developers/](https://wordpress.org/plugins/nextgen-gallery/developers/)
 * Thanks!
 * – Cais.
 *  [juergenp](https://wordpress.org/support/users/juergenp/)
 * (@juergenp)
 * [10 years ago](https://wordpress.org/support/topic/update-problems-25/#post-7434820)
 * Thanks Cais 🙂
    Your link was hint enough for me, now I have the older version
   running without the “string-error”. My error/bug is explained above enough, so
   no need to open a new case 🙂 will wait until next or next-next version and monitor
   this thread, too.
 * best regards
    Juergen

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/update-problems-25/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/update-problems-25/page/2/?output_format=md)

The topic ‘Update Problems’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 22 replies
 * 10 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/update-problems-25/page/2/#post-7434903)
 * Status: resolved