Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kremental

    (@seestheday)

    Hi,
    I checked your page, and I’m not sure why setting a javascript variable to null to would cause any issues loading an image.

    Have you tried your theme developers suggestion of disabling the plugin to see if it fixes the error?

    Jayce53

    (@jayce53)

    The problem is that you are calling ri_init_js() as a wp_print_footer_scripts action to set the value of the javascript variable paginateVal to the global PHP variable $paginateVal. However it seems that on pages that don’t include your shortcode, $paginateVal does not get set and hence the javascript assignment generates a javscript error

    Thread Starter shrederella

    (@shrederella)

    I am finally able to get my images loading, but I am still unable to open up the wordpress visual editor to add content to posts. Please see Joyce53 comment above.

    Thread Starter shrederella

    (@shrederella)

    The javascript error is caused by the Visual Recipe Index plugin. Specifically, the code that’s in error is

    <script type=”text/javascript”>paginateVal = ;</script>

    and that is being output at lines 159 – 161 of RecipeIndexView.php of that plugin.

    Plugin Author Kremental

    (@seestheday)

    I’m not sure why this hasn’t caused any issues for anyone else but I’ll make a patch for this anyways. I’ll see if I can get this published this week.

    Plugin Author Kremental

    (@seestheday)

    I’ve fixed the javascript error with the latest release, can you please download and check it?

    Plugin Author Kremental

    (@seestheday)

    Closing due to non-response.

    Please let me know if this is still an issue for anyone with the latest version of the plugin and I’ll re-open the issue.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Javascript error’ is closed to new replies.