Dashboard not working

Home Forums General Dashboard not working

Viewing 4 reply threads
  • Author
    Posts
    • #83471
      johncst
      Participant

      Just FYI – I just installed with the latest WordPress, latest PHP, latest MySQL. When I click on Dashboard, I get:
      PHP Warning: First parameter must either be an object or the name of an existing class in C:\Users\JohnC3\Documents\JC3\My Documents\CautioTest\wordpress\wp-content\plugins\erp\includes\admin\views\erp-overview.php on line 19
      I’m running IIS under Windows 10, and am using the software for a private, air-gapped ERP system.

    • #83484
      Mehedi Hasan
      Moderator

      Can you please share the debug log if there is any error? Otherwise, please make a way to let us check the problem on your site directly.

      Thanks

    • #83485
      johncst
      Participant

      I didn’t see any .log files anywhere under the wordpress directory. If you could supply an exact path and filename, I’d be happy to provide anything needed.

      To be specific about my PHP version, it is 7.4.12

      Since this is an air gapped computer, I can’t put it on the Internet for you to access. All the modules work OK (CRM, HR, Accounting). It is only when you click on the Dashboard that the error occurs

    • #83574
      Mehedi Hasan
      Moderator

      Here is how to debug: https://wordpress.org/support/article/debugging-in-wordpress/

      If you think it’s hard for you to find the debug log, feel free to contact our support center. OUr support team will assist you both in finding the problem and solving it.

      Thanks

    • #83746
      johncst
      Participant

      I added the following to my wp-config.php file, but there is still no debug.log file produced:
      // DEBUG SETTINGS – REMOVE FOR PRODUCTION
      // Enable WP_DEBUG mode
      define( ‘WP_DEBUG’, true );
      // Enable Debug logging to the /wp-content/debug.log file
      define( ‘WP_DEBUG_LOG’, true );
      // Disable display of errors and warnings
      define( ‘WP_DEBUG_DISPLAY’, false );
      @ini_set( ‘display_errors’, 0 );
      // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
      define( ‘SCRIPT_DEBUG’, true );
      // END DEBUG

      I believe we’re dealing with a PHP version issue for these problems. For example, when clicking on WP_ERP | Settings, the following results:

      PHP Deprecated: Unparenthesized a ? b : c ? d : e is deprecated. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in C:\Users\JohnC3\Documents\JC3\My Documents\CautioTest\wordpress\wp-content\plugins\erp\modules\accounting\includes\classes\class-settings.php on line 142

      There are also some bugs or feature questions I have:

      1) Users with only “CRM Agent” selected in their user profile cannot see any contacts in the CRM module. Perhaps the proper operation is for the contacts to be seen, but the cannot edited or deleted.

      2) New user profiles are created with “PM Manager” selected under WP Project Manager. The “PM Admin” and “No capability for this user” are available on the pull-down, but selecting “No capability for this user” and clicking “Update User” results in “PM Manager” being set again.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.