title: Laravel 8 error vendor/symfony/polyfill-mbstring/Mbstring.php
body: <p>i want to ask about the problem i'm having. I'm using 2 desktops i.e. ubuntu and mint, when I run my code on ubuntu it runs smoothly. but if i run on mint desktop i have an error that says &quot;Symfony\Component\ErrorHandler\Error\FatalError
  Maximum execution time of 60 seconds exceeded&quot;</p>
  <p>and i get this log on my terminal</p>
  <pre><code>Starting Laravel development server: http://127.0.0.1:8000
  [Tue Nov  9 16:18:53 2021] PHP 8.0.12 Development Server (http://127.0.0.1:8000) started
  [Tue Nov  9 16:18:55 2021] 127.0.0.1:38908 Accepted
  [Tue Nov  9 16:18:55 2021] 127.0.0.1:38910 Accepted
  [Tue Nov  9 16:20:22 2021] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in /home/aditya/Documents/Laravel/eyrin/vendor/symfony/polyfill-mbstring/Mbstring.php on line 632
  [Tue Nov  9 16:20:23 2021] 127.0.0.1:38908 Closing
  [Tue Nov  9 16:20:23 2021] 127.0.0.1:38910 Closed without sending a request; it was probably just an unused speculative preconnection
  [Tue Nov  9 16:20:23 2021] 127.0.0.1:38910 Closing
  </code></pre>
  <p>and this is code on controller</p>
  <pre><code>        $store = Store::where('user_id',Helper::getSession('user_id'))-&gt;first();
          
          $match_report = [];
          $top_weekly_product = [];
  
          $compressed_date = [];
          $uncompressed_date = Report::where('store_id',$store-&gt;id)-&gt;whereBetween('created_at', [Carbon::now()-&gt;startOfWeek(), Carbon::now()-&gt;endOfWeek()])-&gt;select('created_at')-&gt;distinct()-&gt;get();
          foreach ($uncompressed_date as $item) {
              if(!in_array(Carbon::parse($item['created_at'])-&gt;format('d/m/Y'),$match_report)){
                  $match_report[] = Carbon::parse($item['created_at'])-&gt;format('d/m/Y');
                  $compressed_date[] = $item;
              }
          }
  
          $match_report = [];
  
          $compressed_weekly_product = [];
          $uncompressed_weekly_product = Report::where('store_id',$store-&gt;id)-&gt;whereBetween('created_at', [Carbon::now()-&gt;startOfWeek(), Carbon::now()-&gt;endOfWeek()])-&gt;get()-&gt;map(function($report){
              return [
                  'product_name'=&gt;$report-&gt;product_name,
                  'product_variant'=&gt;$report-&gt;product_variant,
                  'product_sku'=&gt;$report-&gt;product_sku,
                  'weekly_amount'=&gt;sizeof(Report::where(['store_id'=&gt;$report-&gt;store_id, 'product_sku'=&gt;$report-&gt;product_sku])-&gt;whereBetween('created_at', [Carbon::now()-&gt;startOfWeek(), Carbon::now()-&gt;endOfWeek()])-&gt;get())
              ];
          });
  
          foreach ($uncompressed_weekly_product as $item) {
              if(!in_array($item['product_sku'],$match_report)){
                  $match_report[] = $item['product_sku'];
                  $compressed_weekly_product[] = $item;
              }
          }
  
          foreach ($compressed_weekly_product as $key =&gt; $item) {
              $rows = [];
              foreach ($compressed_date as $obj) {
                  $rows[] = sizeof(Report::where(['store_id'=&gt;$store-&gt;id, 'product_sku'=&gt;$item['product_sku']])-&gt;whereDate('created_at', Carbon::parse($obj['created_at']))-&gt;get());
              }
              $compressed_weekly_product[$key]['daily_amount'] = $rows;
          }
  
          foreach ($compressed_date as $key =&gt; $item) {
              $compressed_date[$key]['formated'] = Carbon::parse($item-&gt;created_at)-&gt;format('m/d/Y');
          }
  
          $match_report = [];
  
          usort($compressed_weekly_product, function($a, $b) { 
              return $a['weekly_amount'] &gt; $b['weekly_amount'] ? -1 : 1;
          }); 
  
          foreach ($compressed_weekly_product as $item) {
              if(sizeof($top_weekly_product) &lt; 3){
                  $top_weekly_product[] = $item;
              }
          }
  
          //testing
          $growth_percentage = 1.8;
  
          return view('panel.outlet.dashboard.index', [
              'is_dashboard'=&gt;true,
              'total_customer'=&gt;sizeof(Customer::where('store_id',$store-&gt;id)-&gt;get()),
              'total_revenue'=&gt;Order::where('store_id',$store-&gt;id)-&gt;whereIn('status',['2','3','-'])-&gt;sum('total_amount'),
              'total_order'=&gt;sizeof(Order::where('store_id',$store-&gt;id)-&gt;get()),
              'total_sales'=&gt;sizeof(Order::where('store_id',$store-&gt;id)-&gt;whereIn('status',['2','3','-'])-&gt;get()),
              'total_product'=&gt;sizeof(Product::where('store_id',$store-&gt;id)-&gt;get()),
              'total_sales_income'=&gt;Order::where('store_id',$store-&gt;id)-&gt;whereIn('status',['2','3','-'])-&gt;sum('total_amount'),
              'growth_percentage'=&gt;round($growth_percentage,2),
              'lastest_order'=&gt;Order::where(['store_id'=&gt;$store-&gt;id,'type'=&gt;'app'])-&gt;orderBy('id','DESC')-&gt;limit(10)-&gt;get(),
              'report_date'=&gt;$compressed_date,
              'top_weekly_product'=&gt;$top_weekly_product,
              'weekly_product'=&gt;$compressed_weekly_product,
              'weekly_report'=&gt;DailyReport::where('store_id',$store-&gt;id)-&gt;whereBetween('created_at', [Carbon::now()-&gt;startOfWeek(), Carbon::now()-&gt;endOfWeek()])-&gt;get()]);
      }
  </code></pre>
  <p>can anyone help me with this problem? i had a similar experience when i tried to truncrate a string in my blade view. does it have something to do with the configuration in my php.ini?</p>
  <p>thankss i hope get solution for this problem...</p>