• afwebdev

    (@afwebdev)


    We are getting the following fatal error on the admin Neseted Pages page (/wp-admin/admin.php?page=nestedpages):

    Fatal error:  Uncaught TypeError: unserialize(): Argument #1 ($data) must be of type string, array given in {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/ListingRepository.php:39
    Stack trace:
    #0 {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/ListingRepository.php(39): unserialize(Array)
    #1 {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(330): NestedPages\Entities\Listing\ListingRepository->visiblePages('page')
    #2 {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(407): NestedPages\Entities\Listing\Listing->listOpening(Array, 0)
    #3 {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(384): NestedPages\Entities\Listing\Listing->listPostLevel()
    #4 {PATH}/wp-content/plugins/wp-nested-pages/app/Views/listing.php(98): NestedPages\Entities\Listing\Listing->getPosts()
    #5 {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(285): include('/home/kansas/ww...')
    #6 {PATH}/wp-includes/class-wp-hook.php(324): NestedPages\Entities\Listing\Listing->listPosts('')
    #7 {PATH}/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #8 {PATH}/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #9 {PATH}/wp-admin/admin.php(259): do_action('toplevel_page_n...')
    #10 {main}
    thrown in {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/ListingRepository.php on line 39

    This on Nested Pages version 3.2.9, PHP 8.2.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I have the same error on my site :



    Une erreur de type E_ERROR a été causée dans la ligne 39 du fichier {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/ListingRepository.php. Message d’erreur?: Uncaught TypeError: unserialize(): Argument #1 ($data) must be of type string, array given in {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/ListingRepository.php:39

    Stack trace:

    #0 {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/ListingRepository.php(39): unserialize(Array)
    #1 {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(330): NestedPages\Entities\Listing\ListingRepository->visiblePages('page')
    #2 {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(407): NestedPages\Entities\Listing\Listing->listOpening(Array, 0)
    #3 {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(384): NestedPages\Entities\Listing\Listing->listPostLevel()
    #4 {PATH}/wp-content/plugins/wp-nested-pages/app/Views/listing.php(98): NestedPages\Entities\Listing\Listing->getPosts()
    #5 {PATH}/wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(285): include('{PATH}...')
    #6 {PATH}/wp-includes/class-wp-hook.php(324): NestedPages\Entities\Listing\Listing->listPosts('')
    #7 {PATH}/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #8 {PATH}/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #9 {PATH}/wp-admin/admin.php(259): do_action('toplevel_page_n...')
    #10 {main}
    ? thrown

    Nested Pages (version 3.2.9) PHP version 8.3.9

    Could you please fix this issue?

    Regards

    serbanovvostrov

    (@serbanovvostrov)

    Same error on a clean(ish) wp install.

    serbanovvostrov

    (@serbanovvostrov)

    fixed, seems that there was a conflict with a caching plugin (docket). By just uninstalling it, I no longer have the error.

    Thread Starter afwebdev

    (@afwebdev)

    This is still happening – the plugin is not usable until the issue is fixed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.