PHP 8.0 TypeError: Cannot access offset of type string on string
-
An error of type E_ERROR was caused in line 33 of the file /wp-content/plugins/wp-nested-pages/app/Entities/Listing/ListingRepository.php. Error message: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/wp-nested-pages/app/Entities/Listing/ListingRepository.php:33
Stack trace:
#0 /wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(302): NestedPages\Entities\Listing\ListingRepository->visiblePages(‘page’)
#1 /wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(377): NestedPages\Entities\Listing\Listing->listOpening(Array, 0)
#2 /wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(354): NestedPages\Entities\Listing\Listing->listPostLevel()
#3 /wp-content/plugins/wp-nested-pages/app/Views/listing.php(96): NestedPages\Entities\Listing\Listing->getPosts()
#4 /wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(273): include(‘…’)
#5 /wp-includes/class-wp-hook.php(292): NestedPages\Entities\Listing\Listing->listPosts(”)
#6 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
#7 /wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#8 /wp-admin/admin.php(259): do_action(‘pages_page_nest…’)
The topic ‘PHP 8.0 TypeError: Cannot access offset of type string on string’ is closed to new replies.