Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: count(): Argument #1 ($value) must be of type Countable|array, Pages given in /home/u723770415/domains/alhayat.app/public_html/app/Components/Page.php:9
Stack trace:
#0 /home/u723770415/domains/alhayat.app/public_html/app/Routes.php(350): include()
#1 /home/u723770415/domains/alhayat.app/public_html/vendor/illuminate/routing/Route.php(189): Gears\Router::{closure}()
#2 /home/u723770415/domains/alhayat.app/public_html/vendor/illuminate/routing/Route.php(163): Illuminate\Routing\Route->runCallable()
#3 /home/u723770415/domains/alhayat.app/public_html/vendor/illuminate/routing/Router.php(572): Illuminate\Routing\Route->run()
#4 /home/u723770415/domains/alhayat.app/public_html/vendor/illuminate/routing/Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#5 /home/u723770415/domains/alhayat.app/public_html/vendor/illuminate/pipeline/Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#6 /home/u723770415/domains/alhayat.app/public_html/vendor/illuminate/routing/Router.php(574): Illuminate\Pipeline\Pipeline->then()
#7 /home/u723770415/domains/alhayat.app/public_html/vendor/illuminate/routing/Router.php(533): Illuminate\Routing\Router->runRouteWithinStack()
#8 /home/u723770415/domains/alhayat.app/public_html/vendor/illuminate/routing/Router.php(511): Illuminate\Routing\Router->dispatchToRoute()
#9 /home/u723770415/domains/alhayat.app/public_html/vendor/gears/router/Router.php(97): Illuminate\Routing\Router->dispatch()
#10 /home/u723770415/domains/alhayat.app/public_html/index.php(14): Gears\Router::install()
#11 {main}
thrown in /home/u723770415/domains/alhayat.app/public_html/app/Components/Page.php on line 9