A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id_portfolio' of non-object

Filename: controllers/Project.php

Line Number: 48

Backtrace:

File: /data/compro/application/controllers/Project.php
Line: 48
Function: _error_handler

File: /data/compro/application/controllers/Project.php
Line: 33
Function: index

File: /data/compro/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'software' of non-object

Filename: controllers/Project.php

Line Number: 49

Backtrace:

File: /data/compro/application/controllers/Project.php
Line: 49
Function: _error_handler

File: /data/compro/application/controllers/Project.php
Line: 33
Function: index

File: /data/compro/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id_portfolio' of non-object

Filename: controllers/Project.php

Line Number: 51

Backtrace:

File: /data/compro/application/controllers/Project.php
Line: 51
Function: _error_handler

File: /data/compro/application/controllers/Project.php
Line: 33
Function: index

File: /data/compro/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'judul_portfolio' of non-object

Filename: controllers/Project.php

Line Number: 54

Backtrace:

File: /data/compro/application/controllers/Project.php
Line: 54
Function: _error_handler

File: /data/compro/application/controllers/Project.php
Line: 33
Function: index

File: /data/compro/index.php
Line: 318
Function: require_once

https://infrasatu.com/home/listPortfolio'); $('.lds-dual-ring').addClass('d-none') const data = await response.json(); $('.portfolio-item').imagesLoaded(function() { initializeIsotope(data.data); }); } catch (error) { console.error('Error fetching data:', error); } }; const fetchListProduct = async () => { try { const response = await fetch('https://infrasatu.com/home/listProduct'); $('.list-product .lds-dual-ring').addClass('d-none') const data = await response.json(); let html = ''; data.data.forEach(value => { html += `
`; if (value.images.length) { for (const image of value.images) { html += ` ` } } html += `
${value.judul_layanan}
` }) $('.list-product').append(html) const swiper = new Swiper('.swiper', { autoplay: { delay: 2500, }, direction: 'horizontal', loop: true, pagination: { el: '.swiper-pagination', }, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, }); } catch (error) { console.error('Error fetching data:', error); } } fetchDataAndInitializeIsotope() fetchListProduct() });