*

abuzarkandwal

  • ****
  • 112 posts
facing two errors
« on: October 08, 2021, 06:15:47 AM »
Warning: count(): Parameter must be an array or an object that implements Countable in /home/pakhomec/public_html/oc-content/plugins/success/index.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/pakhomec/public_html/oc-includes/osclass/utils.php:2286) in /home/pakhomec/public_html/oc-includes/osclass/utils.php on line 2291








Warning: count(): Parameter must be an array or an object that implements Countable in /home/pakhomec/public_html/oc-content/plugins/success/index.php on line 35

Marked as best answer by frosticek on October 08, 2021, 11:10:44 AM
*

MB Themes

Re: facing two errors
« Reply #1 on: October 08, 2021, 11:08:51 AM »
You should have this on index.php line 35:
Code: [Select]
  if(is_array($messages) && !empty($messages) && count($messages) > 0) {

If no, update.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

abuzarkandwal

  • ****
  • 112 posts
Re: facing two errors
« Reply #2 on: October 08, 2021, 11:18:50 AM »
mean i have to remove that line and replace with that code

*

MB Themes

Re: facing two errors
« Reply #3 on: October 08, 2021, 11:35:09 AM »
Well, just update plugin before writing any kind of issue with it.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

abuzarkandwal

  • ****
  • 112 posts
Re: facing two errors
« Reply #4 on: October 08, 2021, 11:37:17 AM »
its updated version now error not showing
but still success box not showing

*

MB Themes

Re: facing two errors
« Reply #5 on: October 08, 2021, 11:40:35 AM »
Then it's not configured or you have another issue there.
Create support ticket.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots