Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter arroccomatto

    (@marcomancosu)

    To see if I could fix the issues, I deleted the previous calls to action and created a new one. I then changed the size but my pages now display the following error message in the sidebar:
    Warning: array_rand() [function.array-rand]: Second argument has to be between 1 and the number of elements in the array in /home/w22836/domains/rootsfavourexchange.com/public_html/wp-content/plugins/cta/modules/module.widgets.php on line 151

    The line in question should be:
    $rand_key = array_rand($selected_ctas, 1);

    Thread Starter arroccomatto

    (@marcomancosu)

    Ticking the box with the name of the call to action in the sidebar widget the message disappears and the call to action box is displayed in the sidebar, but the issues still remain.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New CTA version creates issues in my website’ is closed to new replies.