• Resolved RVOLA

    (@rvola)


    Hello,

    I noticed a bug in version 4.2.11 to display the widget on the backend.
    Indeed, users whose level is lower than ‘manage_options‘ can not use the dropdown to view.

    A Javascript error: Uncaught TypeError:
    Can not call method 'submit' of null

    The problem lies in the file :

    google-analytics-dashboard-for-wp/admin/dashboard_widgets.php

    line 132.
    <form id="ga-dash" method="POST">
    is included in a
    if (current_user_can (' manage_options '))

    just down
    <form id="ga-dash" method="POST">
    a line 152 and other users can switcher views

    https://wordpress.org/plugins/google-analytics-dashboard-for-wp/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Javascript error for the widget in the backend’ is closed to new replies.