A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_URI::$config is deprecated

Filename: core/URI.php

Line Number: 101

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Router::$uri is deprecated

Filename: core/Router.php

Line Number: 127

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$benchmark is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$hooks is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$config is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$log is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$utf8 is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$uri is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$exceptions is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$router is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$output is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$security is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$input is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$lang is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$load is deprecated

Filename: core/Controller.php

Line Number: 78

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$db is deprecated

Filename: core/Loader.php

Line Number: 396

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_DB_mysqli_driver::$failover is deprecated

Filename: database/DB_driver.php

Line Number: 371

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$form_validation is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 132

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 292

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 166

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 235

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 315

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 356

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 282

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 289

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 304

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 314

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 315

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 316

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 317

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 375

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: drivers/Session_files_driver.php

Line Number: 108

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 110

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Session cannot be started after headers have already been sent

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$session is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$agent is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$encryption is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Produk::$func is deprecated

Filename: core/Loader.php

Line Number: 358

Backtrace:

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$benchmark is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$hooks is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$config is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$log is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$utf8 is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$uri is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$exceptions is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$router is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$output is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$security is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$input is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$lang is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$load is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$db is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$form_validation is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$session is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$agent is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$encryption is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$func is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 48
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

SLINGPOUCH BARUS

  0 Ulasan | Terjual

IDR 89.000

Simple!, Slingpouch Barus ini mudah kamu bawa kemana-mana, selain bentuknya yang ramping dan simple, namun bisa di isi berbagai macam barang, mulai handphone, uang dan kartu ATM, yuk buruan di order sebelum kehabisan Leuvers.

SLINGPOUCH
BARUS

LTP48

2 Slot luar untuk kartu / uang dan peralatan yang kecil.
Slot dalam bisa untuk Handphone.

Waterproof

Bahan tidak rembes air.

Praktis dan Simple.


Ulasan Pembeli
PRODUK TERKAIT
0 | 0
AMPERA HAT LEUSER IDR 75.000 - 75.000
0 | 0
0 | 0
0 | 0
0 | 0
0 | 0
MICRORIPS HAT IDR 85.000
0 | 0
0 | 0

A PHP Error was encountered

Severity: Warning

Message: Undefined variable $warnaid

Filename: main/produks.php

Line Number: 1432

Backtrace:

File: /home/leuser/public_html/application/views/main/produks.php
Line: 1432
Function: _error_handler

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 58
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/leuser/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 564

Backtrace:

Whoops! There was an error.
TypeError
count(): Argument #1 ($value) must be of type Countable|array, null given TypeError thrown with message "count(): Argument #1 ($value) must be of type Countable|array, null given" Stacktrace: #5 TypeError in /home/leuser/public_html/application/views/main/produks.php:1432 #4 include in /home/leuser/public_html/system/core/Loader.php:968 #3 CI_Loader:_ci_load in /home/leuser/public_html/system/core/Loader.php:495 #2 CI_Loader:view in /home/leuser/public_html/application/controllers/Produk.php:58 #1 Produk:index in /home/leuser/public_html/system/core/CodeIgniter.php:533 #0 require_once in /home/leuser/public_html/index.php:330
Stack frames (6)
5
TypeError
/views/main/produks.php1432
4
include
/home/leuser/public_html/system/core/Loader.php968
3
CI_Loader _ci_load
/home/leuser/public_html/system/core/Loader.php495
2
CI_Loader view
/controllers/Produk.php58
1
Produk index
/home/leuser/public_html/system/core/CodeIgniter.php533
0
require_once
/home/leuser/public_html/index.php330
/home/leuser/public_html/application/views/main/produks.php
                $("#size").html($("#warna_"+$(this).val()).html());
            }else{
                $("#size").html("<option value=\"\"> Pilih <?=$data->variasi?> dulu </option>");
            }
            $("#stokrefresh").html("");
        });
        $("#size").on("change",function(){
            $("#variasi").val($(this).find(":selected").data('variasi'));
            $("#jumlahorder").attr("max",$(this).find(":selected").data('stok'));
            $("#stokmaks").html($(this).find(":selected").data('stok'));
            $("#harga").val($(this).find(":selected").data('harga'));
            $("#hargacetak").html("IDR "+formUang($(this).find(":selected").data('harga')));
            $("#stokrefresh").html("stok: "+$(this).find(":selected").data('stok'));
        });
    });
  </script>
  
  <div style="display:none;">
    <?php
        for($i=0; $i<count($warnaid); $i++){
            echo "
                <div id='warna_".$warnaid[$i]."'>
                    <option value=''> Pilih ".$data->subvariasi." </option>
            ";
            for($a=0; $a<count($sizeid[$warnaid[$i]]); $a++){
                if($stok[$warnaid[$i]][$a] > 0){
                    if($level == 5){
                        $result = $hardistri[$warnaid[$i]][$a];
                    }elseif($level == 4){
                        $result = $haragensp[$warnaid[$i]][$a];
                    }elseif($level == 3){
                        $result = $haragen[$warnaid[$i]][$a];
                    }elseif($level == 2){
                        $result = $harreseller[$warnaid[$i]][$a];
                    }else{
                        $result = $har[$warnaid[$i]][$a];
                    }
                    echo "<option value='".$sizeid[$warnaid[$i]][$a]."' data-stok='".$stok[$warnaid[$i]][$a]."' data-harga='".$result."' data-variasi='".$variasi[$warnaid[$i]][$a]."'>".$this->func->getSize($sizeid[$warnaid[$i]][$a],"nama")."</option>";
                }
            }
/home/leuser/public_html/system/core/Loader.php
         * We buffer the output for two reasons:
         * 1. Speed. You get a significant speed boost.
         * 2. So that the final rendered template can be post-processed by
         *    the output class. Why do we need post processing? For one thing,
         *    in order to show the elapsed page load time. Unless we can
         *    intercept the content right before it's sent to the browser and
         *    then stop the timer it won't be accurate.
         */
        ob_start();
 
        // If the PHP installation does not support short tags we'll
        // do a little string replacement, changing the short tags
        // to standard PHP echo statements.
        if ( ! is_php('5.4') && ! ini_get('short_open_tag') && config_item('rewrite_short_tags') === TRUE)
        {
            echo eval('?>'.preg_replace('/;*\s*\?>/', '; ?>', str_replace('<?=', '<?php echo ', file_get_contents($_ci_path))));
        }
        else
        {
            include($_ci_path); // include() vs include_once() allows for multiple views with the same name
        }
 
        log_message('info', 'File loaded: '.$_ci_path);
 
        // Return the file data if requested
        if ($_ci_return === TRUE)
        {
            $buffer = ob_get_contents();
            @ob_end_clean();
            return $buffer;
        }
 
        /*
         * Flush the buffer... or buff the flusher?
         *
         * In order to permit views to be nested within
         * other views, we need to flush the content back out whenever
         * we are beyond the first level of output buffering so that
         * it can be seen and included properly by the first included
         * template and any subsequent ones. Oy!
/home/leuser/public_html/system/core/Loader.php
        return $this;
    }
 
    // --------------------------------------------------------------------
 
    /**
     * View Loader
     *
     * Loads "view" files.
     *
     * @param    string    $view    View name
     * @param    array    $vars    An associative array of data
     *                to be extracted for use in the view
     * @param    bool    $return    Whether to return the view output
     *                or leave it to the Output class
     * @return    object|string
     */
    public function view($view, $vars = array(), $return = FALSE)
    {
        return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_prepare_view_vars($vars), '_ci_return' => $return));
    }
 
    // --------------------------------------------------------------------
 
    /**
     * Generic File Loader
     *
     * @param    string    $path    File path
     * @param    bool    $return    Whether to return the file output
     * @return    object|string
     */
    public function file($path, $return = FALSE)
    {
        return $this->_ci_load(array('_ci_path' => $path, '_ci_return' => $return));
    }
 
    // --------------------------------------------------------------------
 
    /**
     * Set Variables
/home/leuser/public_html/application/controllers/Produk.php
                    $this->db->where("id_produk",$params);
                    $this->db->update("flashsale_produk",["totalklik"=>$totalkliknya]);
                }
                
                
            }
            $this->db->where("idproduk",$db->id);
            $review = $this->db->get("review");
 
            $this->load->view("headv2", [
                "titel" => "Jual ".$db->nama,
                "desc" => strip_tags($db->deskripsi),
                "img" => $this->func->getFoto($db->id,"utama"),
                "url" => site_url("produk/".$db->url),
                "is_single_produk" => true,
                "data" => $db,
                "review" => $review,
            ]);
 
            $this->load->view("main/produks", [
                "data" => $db,
                "review" => $review,
            ]);
 
            $this->load->view("footv2");
        }else{
            redirect("404_index");
        }
    }
}
 
/home/leuser/public_html/system/core/CodeIgniter.php
 * ------------------------------------------------------
 */
    // Mark a start point so we can benchmark the controller
    $BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_start');
 
    $CI = new $class();
 
/*
 * ------------------------------------------------------
 *  Is there a "post_controller_constructor" hook?
 * ------------------------------------------------------
 */
    $EXT->call_hook('post_controller_constructor');
 
/*
 * ------------------------------------------------------
 *  Call the requested method
 * ------------------------------------------------------
 */
    call_user_func_array(array(&$CI, $method), $params);
 
    // Mark a benchmark end point
    $BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end');
 
/*
 * ------------------------------------------------------
 *  Is there a "post_controller" hook?
 * ------------------------------------------------------
 */
    $EXT->call_hook('post_controller');
 
/*
 * ------------------------------------------------------
 *  Send the final rendered output to the browser
 * ------------------------------------------------------
 */
    if ($EXT->call_hook('display_override') === FALSE)
    {
        $OUT->_display();
    }
/home/leuser/public_html/index.php
        );
    }
    else
    {
        header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
        echo 'Your view folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF;
        exit(3); // EXIT_CONFIG
    }
 
    define('VIEWPATH', $view_folder.DIRECTORY_SEPARATOR);
 
/*
 * --------------------------------------------------------------------
 * LOAD THE BOOTSTRAP FILE
 * --------------------------------------------------------------------
 *
 * And away we go...
 */
 
require_once BASEPATH.'core/CodeIgniter.php';

Environment & details:

empty
empty
empty
empty
Key Value
__ci_last_regenerate 1716536204
url https://leuser.co.id/produk/SLINGPOUCH-BARUS-103744
Key Value
HTTP_ACCEPT_ENCODING br,gzip
SERVER_NAME leuser.co.id
HTTPS on
PHPRC /home/leuser/public_html/../etc/php8.2
SCRIPT_NAME /index.php
REDIRECT_STATUS 200
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE Apache
DOCUMENT_ROOT /home/leuser/public_html
PWD /home/leuser/cgi-bin
REQUEST_URI /produk/SLINGPOUCH-BARUS-103744
SERVER_SIGNATURE
REQUEST_SCHEME https
QUERY_STRING
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
CONTEXT_DOCUMENT_ROOT /home/leuser/cgi-bin/
HTTP_IF_MODIFIED_SINCE Fri, 08 Dec 2023 19:46:50 GMT
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
REMOTE_PORT 36336
SERVER_ADMIN [no address given]
HTTP_HOST leuser.co.id
SSL_TLS_SNI leuser.co.id
HTTP_CONNECTION Keep-Alive
SERVER_ADDR 203.128.78.10
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
CONTEXT_PREFIX /cgi-bin/
SHLVL 0
REDIRECT_HANDLER application/x-httpd-php8.2
SERVER_PROTOCOL HTTP/1.1
REDIRECT_QUERY_STRING /produk/SLINGPOUCH-BARUS-103744
SERVER_PORT 443
SCRIPT_FILENAME /home/leuser/public_html/index.php
REMOTE_ADDR 44.223.39.67
SCRIPT_URL /produk/SLINGPOUCH-BARUS-103744
SCRIPT_URI https://leuser.co.id/produk/SLINGPOUCH-BARUS-103744
PATH /usr/local/bin:/usr/bin:/bin
REDIRECT_URL /index.php
REQUEST_METHOD GET
ORIG_SCRIPT_FILENAME /home/leuser/cgi-bin/php8.2.cgi
ORIG_PATH_INFO /index.php
ORIG_PATH_TRANSLATED /home/leuser/public_html/index.php
ORIG_SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1716536204.7354
REQUEST_TIME 1716536204
empty
0. Whoops\Handler\PrettyPageHandler

An uncaught Exception was encountered

Type: TypeError

Message: count(): Argument #1 ($value) must be of type Countable|array, null given

Filename: /home/leuser/public_html/application/views/main/produks.php

Line Number: 1432

Backtrace:

File: /home/leuser/public_html/application/controllers/Produk.php
Line: 58
Function: view

File: /home/leuser/public_html/index.php
Line: 330
Function: require_once