0
Welcome Guest! Login
0 items Join Now

RokSpocket error message

  • RokSpocket error message

    Posted 10 years 10 months ago
    • Hi, I'm using Rocksprocket to display some banner ads at the top of my site - all was working fine until today when I noticed the module was 'checked out' in the admin.

      I checked the module in and I now have the following message three times at the top of my site:

      Warning: Invalid argument supplied for foreach() in /home/theprtco/public_html/components/com_roksprocket/layouts/mosaic/RokSprocket_Layout_Mosaic.php on line 106

      I did update RokSprocket yesterday...anyone any ideas why this error has now cropped up? I notice line 106 of this fine contains code regarding cleaning up tags
      foreach ($tags as $tag) {

      Thanks in advance =)
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokSpocket error message

    Posted 10 years 10 months ago
    • If this is a site that is online could you please supply a link so we can better diagnose the issue?
      It makes our suggestions more accurate if we see the actual coding of your site.
  • Re: RokSpocket error message

    Posted 10 years 10 months ago
  • Re: RokSpocket error message

    Posted 10 years 10 months ago
    • I've turned site error messages off for now, as everything still works. With them turned on I have the error message 3 times above the top 3 banners.
      Not an ideal solution but gets around it for now - would still love some suggestions on how to resolve this.

      Thanks =)
    • Last Edit: 10 years 10 months ago by Teessider.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokSpocket error message

    Posted 10 years 10 months ago
  • Re: RokSpocket error message

    Posted 10 years 9 months ago
    • I was able to get the errors OFF by changing the TAGS option within the RokSprocket Module for individual items to NONE. Hope that helps.
    • The following users have thanked you: Enguerrand Dibanda

    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokSpocket error message

    Posted 10 years 9 months ago
    • Okay RokSprocket 2.1.1 has been released, are you all running this and still having issues?
    • Eden's Avatar
    • Eden
    • Rocketeer
    • Posts: 89
    • Thanks: 1
    • Web & Graphic Designer Programmer Search Engine Optimization Specialist Business Owner Operator

    Re: RokSpocket error message

    Posted 10 years 9 months ago
    • Eden's Avatar
    • Eden
    • Rocketeer
    • Posts: 89
    • Thanks: 1
    • Web & Graphic Designer Programmer Search Engine Optimization Specialist Business Owner Operator

    Re: RokSpocket error message

    Posted 10 years 9 months ago
    • As an update, to fix this i set all tags to 'custom' but left them blank. as i dont use tags. :) Something going on with the $tags array when tags are set to none in each item, it still seems to try n parse an empty or non created tags array in the for each which causes an error? (when i commented out line 107 it then errored out on another tags refernece so i think this is probably your prob :)
    • --
      Eden Brownlee
      Accentuate IT
      Creative Web and IT Solutions
      Web: http://www.accentuateit.com.au
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokSpocket error message

    Posted 10 years 9 months ago
    • Eden wrote:
      As an update, to fix this i set all tags to 'custom' but left them blank. as i dont use tags.
      Are you using Joomla or SIMPLE as a provider. I had another topic on this issue but couldn't recreate the scenario on my local.

Time to create page: 0.064 seconds