October 30, 2020 at 7:50 am #83471
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.
October 30, 2020 at 11:54 am #83484Mehedi HasanModerator
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.
October 30, 2020 at 12:56 pm #83485
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
November 2, 2020 at 2:42 pm #83574Mehedi HasanModerator
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.
November 5, 2020 at 4:27 am #83746
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 : eis deprecated. Use either
(a ? b : c) ? d : eor
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.
- You must be logged in to reply to this topic.