Dashboard windows dissapear – Leads plugin Fa0tal error javascript issue
-
Hello,
After we updated to Leads version 1.6.4 I lost the WP dashboard. we have the defaul php / css files that we have not edited…
The bug seems to also lock the “Screen Options” menu (and help menu) up on top-right, so that I can not choose the options onm Dashboard what to activate what not.
The same “Dashboard dissapearing” issue happends in both WP versions 4.1.3 and the new 4.2.
Any idea / solution to get it back working?
<b>Fatal error</b>: Call to undefined function cal_days_in_month() in <b>/home/..../public/html/wp-content/plugins/leads/classes/class.dashboard.php</b> on line <b>368</b><br />
When we deactivate the Leads-plugin the dashbaord comes back as normal (see screeshot)
We looked the WP support (link here) but did not find solution and to be honest I prefer to use defaul code not to modify php/css (even I could)…
https://codex.www.ads-software.com/Dashboard_Widgets_APII copied the extract of the Chorme debug in below (###)…
Any help would be welcomed.
Many thanks,
Marcus
### Debug extract when Leads plugin was activated (bug) , the most interesting parts (text split = ***): ###
WP releases 4.2 and 4.1.3
InboundNow Leads rel. 1.6.4<div id="dashboard-widgets-wrap"> <div id="dashboard-widgets" class="metabox-holder"> <div id="postbox-container-1" class="postbox-container"> <div id="normal-sortables" class="meta-box-sortables"><div id="dashboard_activity" class="postbox hide-if-js"> <div class="handlediv" title="Click to toggle"><br></div><h3 class="hndle"><span>Activity</span></h3> <div class="inside"> <div id="activity-widget"><div class="no-activity"><p class="smiley"></p><p>No activity yet!</p></div></div></div> </div> <div id="wp-lead-stats" class="postbox "> <div class="handlediv" title="Click to toggle"><br></div><h3 class="hndle"><span>Lead Stats</span></h3> <div class="inside"> <div id="lead-before-dashboard"></div> <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="/wp-content/plugins/lead-dashboard-widgets/js/flot/excanvas.min.js"></script><![endif]--> <div class="wp_leads_dashboard_widget"> <script type="text/javascript"> /* <![CDATA[ */ window.data1 = [ <br /> <b>Fatal error</b>: Call to undefined function cal_days_in_month() in <b>/home/..../public/html/wp-content/plugins/leads/classes/class.dashboard.php</b> on line <b>368</b><br /> </script></div></div></div></div></div></div></div> *** another part of the debug (of the dashboard) *** <div id="dashboard-widgets" class="metabox-holder"> <div id="postbox-container-1" class="postbox-container"> <div id="normal-sortables" class="meta-box-sortables"><div id="dashboard_activity" class="postbox hide-if-js"> <div class="handlediv" title="Click to toggle"><br></div><h3 class="hndle"><span>Activity</span></h3> <div class="inside"> <div id="activity-widget"><div class="no-activity"><p class="smiley"></p><p>No activity yet!</p></div></div></div> </div> <div id="wp-lead-stats" class="postbox "> <div class="handlediv" title="Click to toggle"><br></div><h3 class="hndle"><span>Lead Stats</span></h3> <div class="inside"> <div id="lead-before-dashboard"></div> <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="/wp-content/plugins/lead-dashboard-widgets/js/flot/excanvas.min.js"></script><![endif]--> <div class="wp_leads_dashboard_widget"> <script type="text/javascript"> /* <![CDATA[ */ window.data1 = [ <br /> <b>Fatal error</b>: Call to undefined function cal_days_in_month() in <b>/home/directory/public/html/wp-content/plugins/leads/classes/class.dashboard.php</b> on line <b>368</b><br /> </script></div></div></div></div></div></div> *** another part of the debug (of the dashboard) *** <li id="wp-admin-bar-inbound-admin-bar" class="menupop inbound-nav-marketing"><div class="ab-item ab-empty-item" aria-haspopup="true" title="Inbound Marketing Admin"> Marketing</div> <div class="ab-sub-wrapper"> <ul id="wp-admin-bar-inbound-admin-bar-default" class="ab-submenu"> ..... (removed some code)... <ul id="wp-admin-bar-inbound-secondary" class="ab-sub-secondary ab-submenu"> ..... (removed some code)... <li id="wp-admin-bar-inbound-debug" class="menupop inbound-new-tab"> <a class="ab-item" aria-haspopup="true" href="#" target="_blank"> <span style="color:#fff;font-size: 13px;margin-top: -1px;display: inline-block;">Debug Tools</span></a> <div class="ab-sub-wrapper"><ul id="wp-admin-bar-inbound-debug-default" class="ab-submenu"> <li id="wp-admin-bar-inbound-debug-checkjs" class="inbound-new-tab"> <a class="ab-item" href="https://www.domainname.com/wp-admin/index.php?inbound_js" target="_blank" title="Click here to check javascript errors on this page">Check for Javascript Errors</a> </li> <li id="wp-admin-bar-inbound-debug-turnoffscripts" class="inbound-new-tab"><a class="ab-item" href="https://www.domainname.com/wp-admin/index.php?inbound-dequeue-scripts" target="_blank" title="Click here to remove broken javascript to fix issues">Remove Javascript Errors</a> </li> </ul> </div> </li>
### end of debug ###
- The topic ‘Dashboard windows dissapear – Leads plugin Fa0tal error javascript issue’ is closed to new replies.