Title: Import error
Last modified: June 17, 2026

---

# Import error

 *  [mlecat](https://wordpress.org/support/users/mlecat/)
 * (@mlecat)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/import-error-71/)
 * Hello,
 * Shortly after importing a large video (300 MB), all imports were blocked and 
   I received an email from WordPress informing me of an error in `wppa-common-functions.
   php` on line 946.
   Here is the error log:Une erreur de type E_ERROR a été causée
   dans la ligne 946 du fichier /var/www/vhosts/photo-bondier-bergerac.188-165-242-
   225.plesk.page/photo-bondier-bergerac.fr/wp-content/plugins/wp-photo-album-plus/
   wppa-common-functions.php. Message d’erreur : Uncaught TypeError: Cannot access
   offset of type string on string in /var/www/vhosts/photo-bondier-bergerac.188-
   165-242-225.plesk.page/photo-bondier-bergerac.fr/wp-content/plugins/wp-photo-
   album-plus/wppa-common-functions.php:946Stack trace:#0 /var/www/vhosts/photo-
   bondier-bergerac.188-165-242-225.plesk.page/photo-bondier-bergerac.fr/wp-content/
   plugins/wp-photo-album-plus/wppa-admin-functions.php(243): wppa_have_access()#
   1 /var/www/vhosts/photo-bondier-bergerac.188-165-242-225.plesk.page/photo-bondier-
   bergerac.fr/wp-content/plugins/wp-photo-album-plus/wppa-import.php(358): wppa_has_albums()#
   2 /var/www/vhosts/photo-bondier-bergerac.188-165-242-225.plesk.page/photo-bondier-
   bergerac.fr/wp-content/plugins/wp-photo-album-plus/wppa-admin.php(353): _wppa_page_import()#
   3 /var/www/vhosts/photo-bondier-bergerac.188-165-242-225.plesk.page/photo-bondier-
   bergerac.fr/wp-includes/class-wp-hook.php(341): wppa_page_import()#4 /var/www/
   vhosts/photo-bondier-bergerac.188-165-242-225.plesk.page/photo-bondier-bergerac.
   fr/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()#5 /var/www/vhosts/
   photo-bondier-bergerac.188-165-242-225.plesk.page/photo-bondier-bergerac.fr/wp-
   includes/plugin.php(522): WP_Hook->do_action()#6 /var/www/vhosts/photo-bondier-
   bergerac.188-165-242-225.plesk.page/photo-bondier-bergerac.fr/wp-admin/admin.
   php(264): do_action()#7 {main}  thrownMy webmaster has applied the temporary 
   fix below. It works, but it will be removed in the next update:// Any logged 
   out created albums? ( owner = ip )$albs = $wpdb->get_col( “SELECT owner FROM 
   $wpdb->wppa_albums” );if ( $albs ) foreach ( $albs as $a ) {//if ( wppa_is_int(
   str_replace( ‘.’, ”, $a[‘owner’] ) ) ) return true; // Erreur car $a est une 
   chaine de caractère mais pas un tableauif ( wppa_is_int( str_replace( ‘.’, ”,
   $a ) ) ) return true; // correction, on remplace $a[‘owner’] par $a}
 * Here is my setup:
   WordPress version 7.0Thème actif : Astra Child (version 1.0.0)
   Extension actuelle : WP Photo Album Plus (version 9.2.01.003)PHP version 8.3.31
 * Thank you in advance for your help,
   Michel

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * (@opajaap)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/import-error-71/#post-18942371)
 * Is believed to be fixed in the current release version 9.2.02.003

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimport-error-71%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-photo-album-plus.svg)
 * [WP Photo Album Plus](https://wordpress.org/plugins/wp-photo-album-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-photo-album-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-photo-album-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-photo-album-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-photo-album-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-photo-album-plus/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * Last activity: [2 months, 3 weeks ago](https://wordpress.org/support/topic/import-error-71/#post-18942371)
 * Status: not resolved