Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.12.1
-
Component/s: None
-
Labels:None
Description
To reproduce:
- Make sure the IP Unblocker plugin is installed
- Create a package and assign the IP Ublocker to it under "Plugin Integrations"
- From the package list click "Copy" on the new package
Object of class stdClass could not be converted to int on line 964 in F:\wamp\www\blesta\public_html\app\controllers\admin_packages.php
Printing Stack Trace:
#0 [internal function]: UnknownException::setErrorHandler(8, 'Object of class...', 'F:\\wamp\\www
ble...', 964, Array)
#1 F:\wamp\www\blesta\public_html\vendors\monolog\monolog\src\Monolog\ErrorHandler.php(172): call_user_func(Array, 8, 'Object of class...', 'F:\\wamp\\www
ble...', 964, Array)
#2 [internal function]: Monolog\ErrorHandler->handleError(8, 'Object of class...', 'F:\\wamp\\www
ble...', 964, Array)
#3 F:\wamp\www\blesta\public_html\app\controllers\admin_packages.php(964): in_array(170, Array)
#4 F:\wamp\www\blesta\public_html\app\controllers\admin_packages.php(398): AdminPackages->getSelectedSwappableOptions(Array, Array)
#5 F:\wamp\www\blesta\public_html\vendors\minphp\bridge\src\Lib\Dispatcher.php(142): AdminPackages->add()
#6 F:\wamp\www\blesta\public_html\index.php(21): Dispatcher::dispatch('/blesta/public_...')
#7Unknown macro: {main}