Answers.Body: <p>the schedule job failures:</p>
  <p>Fetch Bounces - Check the Mail accounts(Administer &gt;&gt; CiviMail &gt;&gt; Mail Accounts) are configured correctly. You can disable the scheduled job if it's not required.</p>
  <p>Process Inbound Emails - Check the Mail accounts(Administer &gt;&gt; CiviMail &gt;&gt; Mail Accounts) are configured correctly. You can disable the scheduled job if it's not required.</p>
  <p>Mail Reports - It requires report id to be passed, I guess you are not using this functionality so you can turn this scheduled job off.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-18T11:29:01.383Z
Answers.Text: jcalvert doesn't say anything other than that they did an upgrade so I'd assume that there weren't these errors before and did want these scheduled jobs so the question is what has changed with the upgrade. Of course they could not be telling the whole storey :-)
Answers.UserDisplayName: Mick Kahn
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-18T18:39:14.943Z
Answers.Text: I think the Scheduled Jobs failure in core is a new feature so perhaps they are showing now due to the upgrade
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-18T20:55:33.650Z
Answers.Text: I actually don't know if we need these scheduled jobs.  Yes, I think the failure notification is a new thing.  I think best to disable these jobs for now.  Thanks.
  I'm still looking for help on the warnings, "Deprecated: Use of APIv4 'PreSaveSubscriber' is deprecated."
Answers.UserDisplayName: jcalvert
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-18T09:55:59.800Z
Answers.LastActivityDate: 2022-03-18T09:55:59.800Z
Answers.UserDisplayName: Pradeep Nayak
Answers.Body: <p>Just started getting the same problem on an upgraded joomla site
  PHP 7.4.30
  Joomla! 3.10.10 Stable
  CiviCRM 5.37.2</p>
  <p>Error occurs when sending a Flexmail/Mosaico bulk mailing</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-17T02:23:03.977Z
Answers.Text: I have not seen this error since I originally reported it.  I am now running:  Joomla 3.10.8, CiviCRM 5.50.3, PHP 7.4.27, MySQL 5.5.5-10.5.13-MariaDB.  One word of advice:  when you are upgrading CiviCRM, do it one release version at a time – don't jump to the latest version.
Answers.UserDisplayName: jcalvert
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-15T14:09:24.797Z
Answers.LastActivityDate: 2022-07-15T14:09:24.797Z
Answers.UserDisplayName: Jonathan Richardson
Answers.Body: <p>Thanks to an advice from our friends at Fuzion, I deleted the following files:</p>
  <pre><code>&lt;your_server_path_to_joomla_root&gt;/administrator/components/com_civicrm/civicrm/Civi/Api4/Event/Subscriber/CustomFieldPreSaveSubscriber.php
  &lt;your_server_path_to_joomla_root&gt;/administrator/components/com_civicrm/civicrm/Civi/Api4/Event/Subscriber/ContributionPreSaveSubscriber.php
  &lt;your_server_path_to_joomla_root&gt;/administrator/components/com_civicrm/civicrm/Civi/Api4/Event/Subscriber/ContactPreSaveSubscriber.php
  </code></pre>
  <p>Where <code>&lt;your_server_path_to_joomla_root&gt;</code> is something like <code>/home/your_user_account/public_html</code> or <code>/home/your_user_account/www</code> on a Linux server</p>
  <p>You may also look in the <code>&lt;your_server_path_to_joomla_root&gt;/media/civicrm/templates_c/</code> for any cache files and wipe them out (if you don't do this after every upgrade... which you should)</p>
  <p>No more of these pesky errors : )</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-16T15:08:47.987Z
Answers.LastActivityDate: 2022-07-16T15:08:47.987Z
Answers.UserDisplayName: MtnPavlas
Body: <p><strong>========== Updates ==========</strong></p>
  <p>UPDATE1:</p>
  <p>I found in the CiviCRM 5.47.0 release notes:</p>
  <p><strong>(REF) APIv4 - Deprecate and stop using PreSaveSubscriber
  (<a href="https://github.com/civicrm/civicrm-core/pull/22648" rel="nofollow noreferrer">22648</a>)</strong></p>
  <p>The only code I've found that calls PreSaveSubscriber is in the CiviCRM cache folder, media/civicrm/templates_c:</p>
  <pre><code>CachedCiviContainer.73d843c61bfbb34674c0ff02ce48cf2d.php
  CachedCiviContainer.ef856f09bf0c4699a47bf7b31ddccbf6.php
  </code></pre>
  <p>These PHP files in the cache were generated today just a while ago when I accessed the site.</p>
  <p>What is CachedCiviContainer and why is this code calling a deprecated function?</p>
  <p>UPDATE2:</p>
  <p>I cleared the Civi cache, logged out of Joomla admin, and then logged back in.</p>
  <p>A new CachedCiviContainer file was generated in the cache folder, and it too contains code calling PreSaveSubscriber.</p>
  <p>It appears each time I log into Joomla a new CachedCiviContainer is created in the cache folder.</p>
  <p>CachedCiviContainer is generated by Symfony Dependency Injection Component.</p>
  <p>UPDATE3:</p>
  <p>I just did a test and was not able to precipitate the &quot;PreSaveSubscriber is deprecated&quot; warnings, so I logged out, cleared the website's cookies, and logged back in.  After this, I saw the warnings again.  The warnings seem to only appear once... possibly once per day, unless I clear cookies.</p>
  <p><strong>========== Original Post ==========</strong></p>
  <p>Before I started the upgrade, Civi reported:</p>
  <p><a href="https://i.sstatic.net/B8aZe.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/B8aZe.png" alt="enter image description here" /></a></p>
  <p>The site is using Joomla 3.10.5.  I upgraded Civi from 5.45.1 to 5.47.2.  I'm now seeing this sometimes when viewing system status page (not always):</p>
  <blockquote>
  <p>Deprecated: Use of APIv4 'PreSaveSubscriber' is deprecated.
  'Civi\Api4\Event\Subscriber\ContactPreSaveSubscriber' should be
  removed (Contact::getFields). Caller: ::call_user_func_array in
  /var/www/vhosts/XXXXX.org/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php
  on line 1059</p>
  <p>Deprecated: Use of APIv4 'PreSaveSubscriber' is deprecated.
  'Civi\Api4\Event\Subscriber\CustomFieldPreSaveSubscriber' should be
  removed (CustomField::get). Caller: ::call_user_func_array in
  /var/www/vhosts/XXXXX.org/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php
  on line 1059</p>
  <p>Deprecated: Use of APIv4 'PreSaveSubscriber' is deprecated.
  'Civi\Api4\Event\Subscriber\CustomFieldPreSaveSubscriber' should be
  removed (CustomField::get). Caller: ::call_user_func_array in
  /var/www/vhosts/XXXXX.org/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php
  on line 1059</p>
  </blockquote>
  <p>Also seeing this:</p>
  <p><a href="https://i.sstatic.net/zGhqx.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/zGhqx.png" alt="enter image description here" /></a></p>
  <p>thanks</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-13T21:50:19.613Z
Comments.Text: did you ever find a solution to the preSaveSubscriber issue? Super hard to see the real issues in the error log when it's littered with these. Thank you!
Comments.UserDisplayName: MtnPavlas
Tags: <joomla><upgrade><symfony>
Title: Upgraded Joomla CiviCRM to 5.47.2, getting PreSaveSubscriber deprecated warnings; Symfony issue?
ThreadText: # Upgraded Joomla CiviCRM to 5.47.2, getting PreSaveSubscriber deprecated warnings; Symfony issue?
  
  (Asked by: username_0 on 2022-03-18)
  
  ========== Updates ==========
  UPDATE1:
  I found in the CiviCRM 5.47.0 release notes:
  (REF) APIv4 - Deprecate and stop using PreSaveSubscriber
  (22648)
  The only code I've found that calls PreSaveSubscriber is in the CiviCRM cache folder, media/civicrm/templates_c:
  CachedCiviContainer.73d843c61bfbb34674c0ff02ce48cf2d.php
  CachedCiviContainer.ef856f09bf0c4699a47bf7b31ddccbf6.php
  
  These PHP files in the cache were generated today just a while ago when I accessed the site.
  What is CachedCiviContainer and why is this code calling a deprecated function?
  UPDATE2:
  I cleared the Civi cache, logged out of Joomla admin, and then logged back in.
  A new CachedCiviContainer file was generated in the cache folder, and it too contains code calling PreSaveSubscriber.
  It appears each time I log into Joomla a new CachedCiviContainer is created in the cache folder.
  CachedCiviContainer is generated by Symfony Dependency Injection Component.
  UPDATE3:
  I just did a test and was not able to precipitate the "PreSaveSubscriber is deprecated" warnings, so I logged out, cleared the website's cookies, and logged back in.  After this, I saw the warnings again.  The warnings seem to only appear once... possibly once per day, unless I clear cookies.
  ========== Original Post ==========
  Before I started the upgrade, Civi reported:
  
  The site is using Joomla 3.10.5.  I upgraded Civi from 5.45.1 to 5.47.2.  I'm now seeing this sometimes when viewing system status page (not always):
  
  Deprecated: Use of APIv4 'PreSaveSubscriber' is deprecated.
  'Civi\Api4\Event\Subscriber\ContactPreSaveSubscriber' should be
  removed (Contact::getFields). Caller: ::call_user_func_array in
  /var/www/vhosts/XXXXX.org/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php
  on line 1059
  Deprecated: Use of APIv4 'PreSaveSubscriber' is deprecated.
  'Civi\Api4\Event\Subscriber\CustomFieldPreSaveSubscriber' should be
  removed (CustomField::get). Caller: ::call_user_func_array in
  /var/www/vhosts/XXXXX.org/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php
  on line 1059
  Deprecated: Use of APIv4 'PreSaveSubscriber' is deprecated.
  'Civi\Api4\Event\Subscriber\CustomFieldPreSaveSubscriber' should be
  removed (CustomField::get). Caller: ::call_user_func_array in
  /var/www/vhosts/XXXXX.org/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php
  on line 1059
  
  Also seeing this:
  
  thanks
  
  **Tags:** joomla, upgrade, symfony
  
  > **Comments:**
  > **username_1**: did you ever find a solution to the preSaveSubscriber issue? Super hard to see the real issues in the error log when it's littered with these. Thank you!  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2022-03-18. Score: 1
  
  the schedule job failures:
  
  Fetch Bounces - Check the Mail accounts(Administer >> CiviMail >> Mail Accounts) are configured correctly. You can disable the scheduled job if it's not required.
  
  Process Inbound Emails - Check the Mail accounts(Administer >> CiviMail >> Mail Accounts) are configured correctly. You can disable the scheduled job if it's not required.
  
  Mail Reports - It requires report id to be passed, I guess you are not using this functionality so you can turn this scheduled job off.
  
  > **Comments:**
  > **username_3**: username_0 doesn't say anything other than that they did an upgrade so I'd assume that there weren't these errors before and did want these scheduled jobs so the question is what has changed with the upgrade. Of course they could not be telling the whole storey :-)  
  > **username_4**: I think the Scheduled Jobs failure in core is a new feature so perhaps they are showing now due to the upgrade  
  > **username_0**: I actually don't know if we need these scheduled jobs.  Yes, I think the failure notification is a new thing.  I think best to disable these jobs for now.  Thanks. I'm still looking for help on the warnings, "Deprecated: Use of APIv4 'PreSaveSubscriber' is deprecated."  
  
  ---
  
  ### Answer by username_5 on 2022-07-15. Score: 0
  
  Just started getting the same problem on an upgraded joomla site
  PHP 7.4.30
  Joomla! 3.10.10 Stable
  CiviCRM 5.37.2
  
  Error occurs when sending a Flexmail/Mosaico bulk mailing
  
  > **Comments:**
  > **username_0**: I have not seen this error since I originally reported it.  I am now running:  Joomla 3.10.8, CiviCRM 5.50.3, PHP 7.4.27, MySQL 5.5.5-10.5.13-MariaDB.  One word of advice:  when you are upgrading CiviCRM, do it one release version at a time – don't jump to the latest version.  
  
  ---
  
  ### Answer by username_1 on 2022-07-16. Score: 0
  
  Thanks to an advice from our friends at Fuzion, I deleted the following files:
  /administrator/components/com_civicrm/civicrm/Civi/Api4/Event/Subscriber/CustomFieldPreSaveSubscriber.php
  /administrator/components/com_civicrm/civicrm/Civi/Api4/Event/Subscriber/ContributionPreSaveSubscriber.php
  /administrator/components/com_civicrm/civicrm/Civi/Api4/Event/Subscriber/ContactPreSaveSubscriber.php
  
  Where  is something like /home/your_user_account/public_html or /home/your_user_account/www on a Linux server
  You may also look in the /media/civicrm/templates_c/ for any cache files and wipe them out (if you don't do this after every upgrade... which you should)
  No more of these pesky errors : )
  
  
  ---
  
  