×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Invalid argument -subscription.php on line 38

Invalid argument -subscription.php on line 38 5 months 3 weeks ago #35881

  • korgster
  • korgster's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi folks,
Suddenly, we're receiving this error in the CMC module on our site:

Warning: Invalid argument supplied for foreach() in .../administrator/components/com_cmc/helpers/subscription.php on line 38

You are already subscribed to our newsletter.

Any ideas as to what we're missing?

Looking forward to hearing from you.
Cheers!

PS. I just re-installed v3.0.1 ... this made no difference.

Invalid argument -subscription.php on line 38 5 months 3 weeks ago #35897

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
This is a warning and you can ignore it by setting error_reporting to off in joomla's global config.

I can't comment to why it is happening. 38 is a foreach that goes over all merge fields. Are users just subscribing to your list with just email and nothing more?

regards,
Daniel
The following user(s) said Thank You: korgster

Invalid argument -subscription.php on line 38 5 months 3 weeks ago #35902

  • korgster
  • korgster's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Thanks Daniel.

I cleared the cache and the problem mysteriously disappeared. :)

Invalid argument -subscription.php on line 38 5 months 2 weeks ago #35914

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Wow, so clearing cache is now the same as "did you try turning it off and on again" :D
  • Page:
  • 1
Time to create page: 0.120 seconds