Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

davy_yg's avatar
Level 27

cURL Error #:SSL certificate problem

Hello,

I am getting this error message when trying to open System Setting page.

This page only works online and when I try to open it in the localhost this error appears. It's not suppose to happen like that since in my friend's localhost it works just fine. I wonder why? He mentions that the error appears when trying to pull the API information from online.

Can anyone help me troubleshoot this problem?

cURL Error #:SSL certificate problem: unable to get local issuer certificate

(2/2) ErrorException

Invalid argument supplied for foreach() (View: C:\xampp\htdocs\victoryeshop\vito\resources\views\admin\site_setting\site_setting.blade.php) in 6e4815c3ff734a87936072325831c7821a6031dd.php (line 68)

Line 64-72:

<select class="form-control" name="provinsi_id" id="provinsi_id" value="select">
    <option selected id="order_province-placeholder">
      Please choose the province...
    </option>
    <?php $__currentLoopData = $provinsi; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
      <option value="<?php echo e($item->province_id); ?>" <?php if($item->province_id == $site_setting->provinsi_id): ?> selected <?php endif; ?>>
        <?php echo e($item->province); ?>

      </option>
0 likes
0 replies

Please or to participate in this conversation.