Notice!

Fuel\Core\PhpErrorException [ Notice ]:
Undefined offset: 0

APPPATH/views/page/favouriteList.php @ line 16

11                            <div class="sort-row"><button type="button" class="btn"><span class="icon icon-sort3"></span></button></div>
12                        </div>
13                    </form>
14                    <div class="sort row goods-list-wrap goods-ranking">
15                        <?php $rank = (Uri::segment(3) == null || Uri::segment(3) == 1) ? Session::get('rank');
16                        $f_cnt = (Uri::segment(3) == null || Uri::segment(3) == 1) ? $favourites[0]['favorite_cnt'] : Session::get('f_cnt');
17                        foreach ($favourites as $key => $item): ?>
18                            <?php if ($item['favorite_cnt'] < $f_cnt): $rank++;$f_cnt=$item['favorite_cnt']; endif ?>
19                            <?php if (in_array($rank, array('1''2''3'))): ?>
20                                <div class="goods-list col-4 goods-rank-top <?php echo Input::get('view_type') == '' ? 'col-md-five' : Input::get('view_type') ?>" id="goods-rank<?php echo $rank; ?>">
21                                    <div class="card">

Backtrace

  1. COREPATH/bootstrap.php @ line 98
    93        include COREPATH.'classes/error.php';
    94        class_alias('\Fuel\Core\Error''Error');
    95        class_alias('\Fuel\Core\PhpErrorException''PhpErrorException');
    96    }
    97
    98    return \Error::error_handler($severity$message$filepath$line);
    99});
    100
    101function setup_autoloader()
    102{
    103    Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. APPPATH/views/page/favouriteList.php @ line 16
    11                            <div class="sort-row"><button type="button" class="btn"><span class="icon icon-sort3"></span></button></div>
    12                        </div>
    13                    </form>
    14                    <div class="sort row goods-list-wrap goods-ranking">
    15                        <?php $rank = (Uri::segment(3) == null || Uri::segment(3) == 1) ? Session::get('rank');
    16                        $f_cnt = (Uri::segment(3) == null || Uri::segment(3) == 1) ? $favourites[0]['favorite_cnt'] : Session::get('f_cnt');
    17                        foreach ($favourites as $key => $item): ?>
    18                            <?php if ($item['favorite_cnt'] < $f_cnt): $rank++;$f_cnt=$item['favorite_cnt']; endif ?>
    19                            <?php if (in_array($rank, array('1''2''3'))): ?>
    20                                <div class="goods-list col-4 goods-rank-top <?php echo Input::get('view_type') == '' ? 'col-md-five' : Input::get('view_type') ?>" id="goods-rank<?php echo $rank; ?>">
    21                                    <div class="card">
    
  3. COREPATH/classes/view.php @ line 240
    235            ob_start();
    236
    237            try
    238            {
    239                // Load the view within the current scope
    240                include $__file_name;
    241            }
    242            catch (\Exception $e)
    243            {
    244                // Delete the output buffer
    245                ob_end_clean();
    
  4. COREPATH/classes/view.php @ line 254
    249            }
    250
    251            // Get the captured output and close the buffer
    252            return ob_get_clean();
    253        };
    254        return $clean_room($file_override ?: $this->file_name$this->get_data());
    255    }
    256
    257    /**
    258     Retrieves all the databoth local and global.  It filters the data if
    259     necessary.
    
  5. COREPATH/classes/view.php @ line 565
    560        {
    561            throw new \FuelException('You must set the file to use within your view before rendering');
    562        }
    563
    564        // combine local and global data and capture the output
    565        $return $this->process_file();
    566
    567        // restore the current language setting
    568        $this->active_language and \Config::set('language'$current_language);
    569
    570        // and the active request class
    
  6. COREPATH/classes/view.php @ line 207
    202     */
    203    public function __toString()
    204    {
    205        try
    206        {
    207            return $this->render();
    208        }
    209        catch (\Exception $e)
    210        {
    211            \Error::exception_handler($e);
    212
    
  7. APPPATH/views/template.php @ line 184
    179    </div>
    180</div>
    181<!--[/category]-->
    182<?php echo \Breadcrumb::render(); ?>
    183
    184<?php echo $content ?>
    185<footer id="global-footer">
    186    <div class="container">
    187        <div class="footer-wrap">
    188            <h3 class="box-title">お風呂サーチ</h3>
    189            <p>アプリではご自身のお気に入り施設の登録をすることで、その施設ならではのサービスを受けられます。<br>
    
  8. COREPATH/classes/view.php @ line 240
    235            ob_start();
    236
    237            try
    238            {
    239                // Load the view within the current scope
    240                include $__file_name;
    241            }
    242            catch (\Exception $e)
    243            {
    244                // Delete the output buffer
    245                ob_end_clean();
    
  9. COREPATH/classes/view.php @ line 254
    249            }
    250
    251            // Get the captured output and close the buffer
    252            return ob_get_clean();
    253        };
    254        return $clean_room($file_override ?: $this->file_name$this->get_data());
    255    }
    256
    257    /**
    258     Retrieves all the databoth local and global.  It filters the data if
    259     necessary.
    
  10. COREPATH/classes/view.php @ line 565
    560        {
    561            throw new \FuelException('You must set the file to use within your view before rendering');
    562        }
    563
    564        // combine local and global data and capture the output
    565        $return $this->process_file();
    566
    567        // restore the current language setting
    568        $this->active_language and \Config::set('language'$current_language);
    569
    570        // and the active request class
    
  11. COREPATH/classes/view.php @ line 207
    202     */
    203    public function __toString()
    204    {
    205        try
    206        {
    207            return $this->render();
    208        }
    209        catch (\Exception $e)
    210        {
    211            \Error::exception_handler($e);
    212
    
  12. COREPATH/classes/response.php @ line 355
    350     *
    351     * @return  string
    352     */
    353    public function __toString()
    354    {
    355        return (string) $this->body;
    356    }
    357}
    
  13. DOCROOT/index.php @ line 77
    72        throw $e;
    73    }
    74}
    75
    76// Render the output
    77$response->body((string) $response);
    78
    79// This will add the execution time and memory usage to the output.
    80// Comment this out if you don't use it.
    81if (strpos($response->body(), '{exec_time}') !== false or strpos($response->body(), '{mem_usage}') !== false)
    82{
    

Prior Contents (show)