• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Unable to load object of type PhDomain with id=12: O domínio não existe

ViaHosting

Basic Pleskian
After running Daily script task

D:\Plesk\admin\engine\php.exe -q "D:\Plesk\admin\plib\DailyMaintainance\script.php"


Messages at
D:\Plesk\admin\logs\php_error.log

[2019-11-05 12:00:01] ERR [panel] Unable to load object of type PhDomain with id=12: O domínio não existe.:
0: D:\Plesk\admin\plib\Transactional.php:152
Transactional->reset()
1: D:\Plesk\admin\plib\Transactional.php:127
Transactional->execute()
2: D:\Plesk\admin\plib\Commands\CollectOutgoingMessagesStats.php:17
Commands_CollectOutgoingMessagesStats->collectStats()
3: D:\Plesk\admin\plib\DailyMaintainance\Task\StoreOutgoingMessagesStatistics.php:17
DailyMaintainance_Task_StoreOutgoingMessagesStatistics->run(array)
4: D:\Plesk\admin\plib\DailyMaintainance\Runner\Task.php:50
DailyMaintainance_Runner_Task->runTask(object of type DailyMaintainance_Task_StoreOutgoingMessagesStatistics, array)
5: D:\Plesk\admin\plib\DailyMaintainance\Runner\Task.php:27
DailyMaintainance_Runner_Task->run()
6: D:\Plesk\admin\plib\DailyMaintainance\task-script.php:13
[2019-11-05 12:00:01] ERR [panel] Unable to load object of type PhDomain with id=12: O domínio não existe.



There is no domain_id=12 at domains table.
It was a test domain and was being deleted.
 
Try to fix this database inconsistency with

plesk repair db
 
Try to fix this database inconsistency with

plesk repair db


I did the DB repair.

There were some errors that where fixed.

In a second run, there is no errors.

Microsoft Windows [versão 10.0.17763.805]
(c) 2018 Microsoft Corporation. Todos os direitos reservados.

C:\Users\Administrador>plesk repair db

Checking the Plesk database using the native database server tools .. [OK]
Checking the structure of the Plesk database ........................ [OK]
Checking the consistency of the Plesk database ...................... [OK]
Error messages: 0; Warnings: 0; Errors resolved: 0


But remains the messages

[2019-11-13 16:00:01] ERR [panel] Unable to load object of type PhDomain with id=12: O domínio não existe.:
0: D:\Plesk\admin\plib\Transactional.php:152
Transactional->reset()
1: D:\Plesk\admin\plib\Transactional.php:127
Transactional->execute()
2: D:\Plesk\admin\plib\Commands\CollectOutgoingMessagesStats.php:17
Commands_CollectOutgoingMessagesStats->collectStats()
3: D:\Plesk\admin\plib\DailyMaintainance\Task\StoreOutgoingMessagesStatistics.php:17
DailyMaintainance_Task_StoreOutgoingMessagesStatistics->run(array)
4: D:\Plesk\admin\plib\DailyMaintainance\Runner\Task.php:50
DailyMaintainance_Runner_Task->runTask(object of type DailyMaintainance_Task_StoreOutgoingMessagesStatistics, array)
5: D:\Plesk\admin\plib\DailyMaintainance\Runner\Task.php:27
DailyMaintainance_Runner_Task->run()
6: D:\Plesk\admin\plib\DailyMaintainance\task-script.php:13
[2019-11-13 16:00:01] ERR [panel] Unable to load object of type PhDomain with id=12: O domínio não existe.
[2019-11-13 17:00:01] ERR [panel] Unable to load object of type PhDomain with id=12: O domínio não existe.:
0: D:\Plesk\admin\plib\Transactional.php:152
Transactional->reset()
1: D:\Plesk\admin\plib\Transactional.php:127
Transactional->execute()
2: D:\Plesk\admin\plib\Commands\CollectOutgoingMessagesStats.php:17
Commands_CollectOutgoingMessagesStats->collectStats()
3: D:\Plesk\admin\plib\DailyMaintainance\Task\StoreOutgoingMessagesStatistics.php:17
DailyMaintainance_Task_StoreOutgoingMessagesStatistics->run(array)
4: D:\Plesk\admin\plib\DailyMaintainance\Runner\Task.php:50
DailyMaintainance_Runner_Task->runTask(object of type DailyMaintainance_Task_StoreOutgoingMessagesStatistics, array)
5: D:\Plesk\admin\plib\DailyMaintainance\Runner\Task.php:27
DailyMaintainance_Runner_Task->run()
6: D:\Plesk\admin\plib\DailyMaintainance\task-script.php:13
[2019-11-13 17:00:01] ERR [panel] Unable to load object of type PhDomain with id=12: O domínio não existe.
[2019-11-13 18:00:02] ERR [panel] Unable to load object of type PhDomain with id=12: O domínio não existe.:
0: D:\Plesk\admin\plib\Transactional.php:152
Transactional->reset()
1: D:\Plesk\admin\plib\Transactional.php:127
Transactional->execute()
2: D:\Plesk\admin\plib\Commands\CollectOutgoingMessagesStats.php:17
Commands_CollectOutgoingMessagesStats->collectStats()
3: D:\Plesk\admin\plib\DailyMaintainance\Task\StoreOutgoingMessagesStatistics.php:17
DailyMaintainance_Task_StoreOutgoingMessagesStatistics->run(array)
4: D:\Plesk\admin\plib\DailyMaintainance\Runner\Task.php:50
DailyMaintainance_Runner_Task->runTask(object of type DailyMaintainance_Task_StoreOutgoingMessagesStatistics, array)
5: D:\Plesk\admin\plib\DailyMaintainance\Runner\Task.php:27
DailyMaintainance_Runner_Task->run()
6: D:\Plesk\admin\plib\DailyMaintainance\task-script.php:13
[2019-11-13 18:00:02] ERR [panel] Unable to load object of type PhDomain with id=12: O domínio não existe.



This message is gerate every one hour.
 
where the plesk collect the information used by ?

D:\Plesk\admin\plib\Commands\CollectOutgoingMessagesStats.php:17
Commands_CollectOutgoingMessagesStats->collectStats()
 
Try to do the following:

Back up Plesk database by running the command from command-line:

C:\> "%plesk_dir%"\Mysql\bin\mysqldump.exe -uadmin -p<plesk_admin_password> -P8306 psa > %date:~-4,4%%date:~-7,2%%date:~-10,2%.psa.sql

Backup file %plesk_dir%\admin\plib\Service\Mail\OutgoingMessages\Windows.php

Download the attached file and unzip it.

Place the file from the previous step instead of %plesk_dir%\admin\plib\Service\Mail\OutgoingMessages\Windows.php
 

Attachments

  • Windows.zip
    4 KB · Views: 5
Try to do the following:

Back up Plesk database by running the command from command-line:

C:\> "%plesk_dir%"\Mysql\bin\mysqldump.exe -uadmin -p<plesk_admin_password> -P8306 psa > %date:~-4,4%%date:~-7,2%%date:~-10,2%.psa.sql

Backup file %plesk_dir%\admin\plib\Service\Mail\OutgoingMessages\Windows.php

Download the attached file and unzip it.

Place the file from the previous step instead of %plesk_dir%\admin\plib\Service\Mail\OutgoingMessages\Windows.php


IgorG,

After replace the windows.php file, there is no more messages about object with id=12.

Thanks for your help.
 
Back
Top