WordPress issueshttps://lab.civicrm.org/dev/wordpress/-/issues2023-12-06T21:58:33Zhttps://lab.civicrm.org/dev/wordpress/-/issues/124nested conditional shortcode causes exception "You must be logged in to view ...2023-12-06T21:58:33ZAllenShawnested conditional shortcode causes exception "You must be logged in to view this page"The below-described bad behavior was not happening in CiviCRM 5.35.2 but does happen after upgrading to 5.47.4. Can someone suggest what might have changed that would cause this?
**Setup:**
- The custom WordPress theme on this site prov...The below-described bad behavior was not happening in CiviCRM 5.35.2 but does happen after upgrading to 5.47.4. Can someone suggest what might have changed that would cause this?
**Setup:**
- The custom WordPress theme on this site provides an [enclosing-content shortcode](https://developer.wordpress.org/plugins/shortcodes/enclosing-shortcodes/#enclosing-content) `[member_short_code]` which will only display its content if the user is logged in. E.g. `[member_short_code]Only logged in users see this[/member_short_code]`.
- On a given post, the [member_short_code] shortcode is used, and its contents contain is an instance of `[civicrm component="user-dashboard" hijack="0"]`, with the intention that this page will display the user dashboard only if the user is logged in.
**Previous behavior under CiviCRM 5.35.2:**
- When viewing the given post, logged-in users see the civiCRM user dashboard; anonymous users see nothing.
**New & undesirable behavior under CiviCRM 5.47.4:**
- When viewing the given post, logged-in users see the civiCRM user dashboard; anonymous users get a CiviCRM fatal error with the message "You must be logged in to view this page".
**Why this fatal error happens under CiviCRM 5.47.4?**
- WordPress is processing the contents of the `[member_short_code]` shortcode, even when its contents will not be displayed; I believe that's just how WordPress works, and it's not a problem _per se_.
- When that content includes `[civicrm component="user-dashboard" hijack="0"]`, CiviCRM is testing whether the user has a ContactID, and if not it throws the above-mentioned exception. Reference [UserDashBoard.php line 79](https://github.com/civicrm/civicrm-core/blob/master/CRM/Contact/Page/View/UserDashBoard.php#L79).
**Why this fatal error didn't happen under CiviCRM 5.35.2?**
- I don't know. Any ideas?
- Was the civicrm WordPress plugin doing something to catch such exceptions and handle them more elegangly?
- Worth noting, I've compared the civicrm codebase from pre-upgrade backups and github master, and don't see any core hacks that would have accounted for this.
**Workaround in CiviCRM 5.47.4:**
Naturally this is not ideal, but this changes addresses the problem behavior:
```
diff --git a/CRM/Contact/Page/View/UserDashBoard.php b/CRM/Contact/Page/View/UserDashBoard.php
index 9cb559bf47..0a1af9751b 100644
--- a/CRM/Contact/Page/View/UserDashBoard.php
+++ b/CRM/Contact/Page/View/UserDashBoard.php
@@ -77,7 +77,7 @@ class CRM_Contact_Page_View_UserDashBoard extends CRM_Core_Page {
*/
public function preProcess() {
if (!$this->_contactId) {
- throw new CRM_Core_Exception(ts('You must be logged in to view this page.'));
+ return '';
}
list($displayName, $contactImage) = CRM_Contact_BAO_Contact::getDisplayAndImage($this->_contactId);
```
_{Joinery internal reference: F#724)_https://lab.civicrm.org/dev/wordpress/-/issues/119Autocomplete dropdowns inaccessible behind lightbox2023-12-06T17:16:48ZbakkboneAutocomplete dropdowns inaccessible behind lightbox![Screen_Shot_2022-02-17_at_6.41.52_pm](/uploads/996c28afe8f7457cc6f41c2d22a53799/Screen_Shot_2022-02-17_at_6.41.52_pm.png)
When trying to add a membership type in CiviMember, the dropdowns all appear behind the lightbox and can't be cli...![Screen_Shot_2022-02-17_at_6.41.52_pm](/uploads/996c28afe8f7457cc6f41c2d22a53799/Screen_Shot_2022-02-17_at_6.41.52_pm.png)
When trying to add a membership type in CiviMember, the dropdowns all appear behind the lightbox and can't be clicked on. Example in screencap is the Organisation, but the issue is occurring on all dropdowns on this screenhttps://lab.civicrm.org/dev/wordpress/-/issues/89Civi cannot be installed on Local (previously Local By Flywheel) on Windows2023-12-06T17:15:59ZAndrew WestCivi cannot be installed on Local (previously Local By Flywheel) on WindowsInstalling on [Local](https://localwp.com/) fails due a issue when parsing the schema xml files. On Windows, anyway. Flagging this because Local seems to be increasingly popular as a dev tool - plus is used by people on Flywheel / WP Eng...Installing on [Local](https://localwp.com/) fails due a issue when parsing the schema xml files. On Windows, anyway. Flagging this because Local seems to be increasingly popular as a dev tool - plus is used by people on Flywheel / WP Engine.
What happens is:
1. CRM_Core_CodeGen_Util_Xml::parse() reads xml/schema/Schema.xml. Schema.xml uses <xi:include> tags to include all the other xml schema files in the relevant subdirectories.
2. These inclusions are processed in parse() by a DomDocument object running xinclude(). This fails with a "failed to load external entity" error. Process Monitor shows that it's looking in the wrong directory: it looks for them in the root, rather than under xml/schema.
There's a not-great workaround:
Edit CRM_Core_CodeGen_Util_Xml::parse() and manually set the DomDocument->documentURI to a relative path instead of the absolute path it uses by default. It needs to be relative to the current PHP working directory, which is wp-admin at this point. So under a default WP install this would be: '../wp-content/plugins/civicrm/civicrm/xml/schema/Schema.xml'
I haven't figured out the cause yet. I thought it might be to do with spaces in the directory path (Local uses a folder called "Local Sites" by default on Windows), but it happens outside of that directory too.
The problem doesn't happen XAMP under Windows, so it must be something about the Local setup. I believe it uses Docker behind the scenes. I contacted Local support to see if they had any known issues with xi:include, but no joy.
I'm out of ideas at the moment. Raising an issue so it's at least recorded.https://lab.civicrm.org/dev/wordpress/-/issues/76REST delete Participant operation... get a WARNING message2023-12-06T16:39:30ZRTaglientoREST delete Participant operation... get a WARNING messageHi,
I am receiving a WANRNING message after an API-REST call via ajax.
The delete operation of a participant
.../wp-json/civicrm/v3/rest?entity=Participant&action=delete&api_key=...&key=..&json={"sequential":1,"id":711}
this is the ...Hi,
I am receiving a WANRNING message after an API-REST call via ajax.
The delete operation of a participant
.../wp-json/civicrm/v3/rest?entity=Participant&action=delete&api_key=...&key=..&json={"sequential":1,"id":711}
this is the response text:
> <br />
> <b>Warning</b>: array_reduce() expects parameter 1 to be array, int given in <b>C:\xampp\htdocs\civicenter\wp-content\plugins\civicrm\wp-rest\Controller\Rest.php</b> on line <b>147</b><br />
> {"is_error":0,"version":3,"count":1,"values":null}
it is only a WARNING and I catch only the final JSON object tail.
Regards Roberto.https://lab.civicrm.org/dev/wordpress/-/issues/121Guard against invalid (php) timezone strings in wordpress2023-06-27T22:17:48ZDaveDGuard against invalid (php) timezone strings in wordpressPulling this out from dev/core#2122 since it's wordpress-specific and I think has a relatively easy fix.
As mentioned in that ticket the default timezone string in wordpress is 'UTC+0', which is not a valid php timezone string. Also it ...Pulling this out from dev/core#2122 since it's wordpress-specific and I think has a relatively easy fix.
As mentioned in that ticket the default timezone string in wordpress is 'UTC+0', which is not a valid php timezone string. Also it looks like maybe if you have an offset timezone instead of a place name string in the settings, then currently civi attempts to use null or blank which is also invalid. Offsets aren't recommended anyway, but they are valid choices in wordpress.
Looking at the code I think this can be fixed like this, I just don't have a system to test it on. The function appears to be available since wordpress 5.3.
@kcristiano @haystack
```patch
--- a/CRM/Utils/System/WordPress.php
+++ b/CRM/Utils/System/WordPress.php
@@ -745,7 +745,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
else {
throw new CRM_Core_Exception("Could not find the bootstrap file for WordPress");
}
- $wpUserTimezone = get_option('timezone_string');
+ $wpUserTimezone = wp_timezone_string();
if ($wpUserTimezone) {
date_default_timezone_set($wpUserTimezone);
CRM_Core_Config::singleton()->userSystem->setMySQLTimeZone();
@@ -1128,7 +1128,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
* @inheritDoc
*/
public function getTimeZoneString() {
- return get_option('timezone_string');
+ return wp_timezone_string();
}
/**
```5.64.0https://lab.civicrm.org/dev/wordpress/-/issues/123Error when upgrading civicrm for wordpress with wp-cli2023-03-01T11:56:04ZPierreFError when upgrading civicrm for wordpress with wp-cliIn order to upgrade CiviCRM for WordPress from the command line on a remote server, I just installed wp-cli following the instructions at https://wp-cli.org/.
When I execute:
```
wp civicrm upgrade --zipfile ../Downloads/civicrm-5.48.0-...In order to upgrade CiviCRM for WordPress from the command line on a remote server, I just installed wp-cli following the instructions at https://wp-cli.org/.
When I execute:
```
wp civicrm upgrade --zipfile ../Downloads/civicrm-5.48.0-wordpress.zip
```
I get a warning and an error:
```
Warning: file_get_contents(/home/myhome/www/wp-content/plugins/civicrm/wp-cli//civicrm.settings.php): failed to open stream: No such file or directory in /home/myhome/www/wp-content/plugins/civicrm/wp-cli/civicrm.php on line 946
The upgrade process involves -
1. Backing up current CiviCRM code as => /home/myhome/www/../backup/plugins/20220412055134/civicrm
2. Backing up database as => /home/myhome/www/../backup/plugins/20220412055134/civicrm.sql
3. Unpacking tarfile to => /home/myhome/www/wp-content/plugins/
4. Executing civicrm/upgrade?reset=1 just as a browser would.
Do you really want to continue? [y/n] y
Success: 1. Code backed up.
mysqldump: Got error: 2002: "Can't connect to MySQL server on 'myftpuser-001.privatesql' (115)" when trying to connect
```
I have been told this happens because the configuration file necessary to access the database is no more there when you try to backup the database.
If that is true, a possible solution would be to change the order of the operations: first backup the database, and then backup the code.https://lab.civicrm.org/dev/wordpress/-/issues/59Base page is only created on main site in WordPress Multisite2023-02-28T15:26:35ZhaystackBase page is only created on main site in WordPress MultisiteThe default behaviour of CiviCRM on WordPress Multisite is that the base page is not created on every site on which CiviCRM is activated. Instead, the base page is only auto-created on the main site. The absence of the base page on a sub...The default behaviour of CiviCRM on WordPress Multisite is that the base page is not created on every site on which CiviCRM is activated. Instead, the base page is only auto-created on the main site. The absence of the base page on a sub-site can lead to confusion - however it may be the desired behaviour when the WordPress Multisite instance is one where sub-sites are not truly "separate" e.g. sites built on frameworks such as Commons in a Box or MultilingualPress.
Proposed fix: auto-create the base page on all sites on which CiviCRM has been activated but allow plugins to enable the legacy switch to the main site behaviour.haystackhaystackhttps://lab.civicrm.org/dev/wordpress/-/issues/32CiviCRM causes session hang2023-01-27T15:34:40ZDavid HayesCiviCRM causes session hangAt least for me, CiviCRM's session is locking for Wordpress's REST API and Loop back requests causing them to timeout. I first noticed this on the Wordpress Site Health check. Wodpress installs w/o CiviCRM or with CiviCRM disabled work f...At least for me, CiviCRM's session is locking for Wordpress's REST API and Loop back requests causing them to timeout. I first noticed this on the Wordpress Site Health check. Wodpress installs w/o CiviCRM or with CiviCRM disabled work fine.
![Screenshot_from_2019-06-11_20-56-57](/uploads/169853c82d57f9e9d868e10479920fa2/Screenshot_from_2019-06-11_20-56-57.png)
WordPress Core does not use [sessions](https://github.com/civicrm/civicrm-wordpress/blob/master/civicrm.php#L342). All "user state" is managed via cookies. Since v4.9, plugins using sessions in WP plugins can cause problems. A good explanation of the issue can be found [here](https://wordpress.org/support/topic/the-loopback-request-to-your-site-failed-4/page/2/#post-10662220).
The post there suggest passing the 'read_and_close' flag to session_start, but I have no idea what consequences that would have for CiviCRM.
Any thought appreciated.https://lab.civicrm.org/dev/wordpress/-/issues/126CRM_Core_Permission_WordPress check function does not get all WP User capabil...2022-05-17T12:05:03ZkcristianoCRM_Core_Permission_WordPress check function does not get all WP User capabilities after IPN returnTracking at [Core Issue 3456](https://lab.civicrm.org/dev/core/-/issues/3456)Tracking at [Core Issue 3456](https://lab.civicrm.org/dev/core/-/issues/3456)https://lab.civicrm.org/dev/wordpress/-/issues/118Make CiviCRM's menu position an integer2022-03-17T20:45:35ZhaystackMake CiviCRM's menu position an integerIn WordPress 6.0, menu positions must be integers otherwise a `doing_it_wrong` error is triggered. CiviCRM currently sets the position to [a float expressed as a string](https://github.com/civicrm/civicrm-wordpress/blob/cce8f826a292ecceb...In WordPress 6.0, menu positions must be integers otherwise a `doing_it_wrong` error is triggered. CiviCRM currently sets the position to [a float expressed as a string](https://github.com/civicrm/civicrm-wordpress/blob/cce8f826a292ecceb9b04b93db4b38a17566eb08/includes/civicrm.admin.php#L600-L609) - this will need to be changed in due course.haystackhaystackhttps://lab.civicrm.org/dev/wordpress/-/issues/80Users cannot be created if no unsupervised deduping rule exists2021-10-20T09:51:13ZBradley TaylorUsers cannot be created if no unsupervised deduping rule existsWe have recently had an issue where users could not be added via the WordPress admin add new user screen. The following exception was logged: `Unsupervised rule for Individual does not exist`
**Steps to reproduce:**
- Go to the CiviCRM ...We have recently had an issue where users could not be added via the WordPress admin add new user screen. The following exception was logged: `Unsupervised rule for Individual does not exist`
**Steps to reproduce:**
- Go to the CiviCRM dedup rules config screen (/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fcontact%2Fdeduperules&reset=1)
- For any unsupervised rules under the "Individual Rules" table, either delete the rule, or change the usage type to "General".
- Try adding a new WordPress user at /wp-admin/user-new.php
I've not tested this, but I expect the easiest course of action is to wrap the call to `synchronizeUFMatch` in `CiviCRM_For_WordPress_Users` in a try-catch block. I've not checked to see if this issue affects Drupal/ Joomla.
There is currently nothing in the documentation to suggest having an unsupervised rule is a requirement, but if not having an unsupervised rule will cause other problems then this should be clearly stated in https://docs.civicrm.org/user/en/latest/common-workflows/deduping-and-merging/https://lab.civicrm.org/dev/wordpress/-/issues/55Randomly losing Profile page content in WordPress2021-10-18T19:25:49Zdarren.woodsRandomly losing Profile page content in WordPressWordPress 5.4.1 Civi 5.25.0 Debian 10
We are randomly loosing profile pages in WordPress... The WordPress page is still rendered, but without any of the Civi Profile content (Profile is embedded as a shortcode in "Edit" mode). Clearing ...WordPress 5.4.1 Civi 5.25.0 Debian 10
We are randomly loosing profile pages in WordPress... The WordPress page is still rendered, but without any of the Civi Profile content (Profile is embedded as a shortcode in "Edit" mode). Clearing the cache with "wp civicrm cache-clear" multiple times (i.e. more than once, sometimes 3 or 4 times) resolves the issue and profile forms are shown again. Deleting the tempaltes_c contents doesn't immediatly resolve it, so we think it's possibly an ACL cache issue in the DB. We have ACL entries for "everyone" to view the profile and edit underlying custom field group, and the profiles can work fine for a day or two, then suddenly vanish without any errors. Any help, much appreciated as this one is proving really hard to debug.https://lab.civicrm.org/dev/wordpress/-/issues/97User Dashboard shortcode doesn't addCoreResources2021-10-18T13:19:39ZAllenShawUser Dashboard shortcode doesn't addCoreResourcesWhen using a shortcode for a profile (and possibly for contribution pages and events), CiviCRM somehow uses `Civi::resources()->addCoreResources()` to load civicrm js and style files. However, the shortcode for user dashboard (`[civicrm ...When using a shortcode for a profile (and possibly for contribution pages and events), CiviCRM somehow uses `Civi::resources()->addCoreResources()` to load civicrm js and style files. However, the shortcode for user dashboard (`[civicrm component="user-dashboard" hijack="0"]`) does not.
BTW, there is [documentation](https://docs.civicrm.org/dev/en/latest/standards/javascript/#using-civicrm-javascript-in-non-civicrm-pages) for invoking `Civi::resources()->addCoreResources()` in an extension to load these files, but this method doesn't seem to work in WordPress (see https://civicrm.stackexchange.com/q/2475/907 and bug reports referenced in comments there.)
As a result, the only way I've found to get these files into the wordpress front-end (even on a page that includes User Dashboard by shortcode) is to manually invoke `CRM_Core_Resources::singleton()->addScriptFile()` and `...->addStyleFile()` for each resource, which seem clumsy and prone to breaking in upgrades.
It seems like all civicrm shortcodes should include these core resources on the WP page.
* My CMS: WordPress 5.5.3
* My CiviCRM: 5.35.1https://lab.civicrm.org/dev/wordpress/-/issues/82Cannot create a WordPress account from the Contact record2021-10-16T08:08:01ZbgmCannot create a WordPress account from the Contact recordTo reproduce:
* As a WP admin, create a new contact record that has an email
* Click on the Actions menu
Expected: an option to create a new CMS account for this contact.
References:
* https://civicrm.stackexchange.com/questions/9092...To reproduce:
* As a WP admin, create a new contact record that has an email
* Click on the Actions menu
Expected: an option to create a new CMS account for this contact.
References:
* https://civicrm.stackexchange.com/questions/9092/wordpress-creating-new-wp-users-from-civi-contacts5.37.0https://lab.civicrm.org/dev/wordpress/-/issues/83Avoid direct use of wp_new_user_notification2021-10-10T15:18:15ZBradley TaylorAvoid direct use of wp_new_user_notificationI was taking a look at https://github.com/civicrm/civicrm-core/pull/18982/ and noticed that CiviCRM currently calls `wp_new_user_notification` directly. Whilst this is not considered a private function in WordPress, I do believe its not ...I was taking a look at https://github.com/civicrm/civicrm-core/pull/18982/ and noticed that CiviCRM currently calls `wp_new_user_notification` directly. Whilst this is not considered a private function in WordPress, I do believe its not best practice to call it directly.
## The problem
`wp_new_user_notification` is a very opinionated function. A text-only email is sent via `wp_mail` with fixed (albeit translatable) text.
Site owners may want to replace this functionality:
- To disable new-user emails altogether
- To send a branded HTML email
- To send the email via an email service provider (MailChimp, DotDigital etc)
On sites I work on, we frequently replace the wp_new_user_notification with a more heavily branded custom email using code similar to this:
```
remove_action( 'register_new_user', 'wp_send_new_user_notifications' );
add_action( 'register_new_user', 'my_custom_new_user_notification' );
remove_action( 'edit_user_created_user', 'wp_send_new_user_notifications' );
add_action( 'edit_user_created_user', 'my_custom_new_user_notification' );
```
(Note slightly different actions would be needed to fully handle a multisite context).
These actions can also be used to trigger other functionality unrelated to email notifications.
## The solution
I would like to propose that CiviCRM replaces its direct call to `wp_new_user_notification` with a `do_action()` call, allowing the notification to be unhooked or replaced. The question in my mind is what action should be used. The options are:
- `register_new_user`
- `edit_user_created_user`
- A new CiviCRM specific action. (The `wp_send_new_user_notifications` function would then need to be attached to this action with `add_action`)
I don't have a particular preference either way on this last point.https://lab.civicrm.org/dev/wordpress/-/issues/98Clash with MiniOrange OAuth plugin breaks CiviCRM Admin menu2021-04-19T09:27:59ZmarshClash with MiniOrange OAuth plugin breaks CiviCRM Admin menuCiviCRM uses a $_REQUEST['code'] parameter when building the CiviCRM navigation menu in wordpress. Unfortunately, so does the MiniOrange OAuth plugin for MS Azure integration, and the clash means that the Civi menu loses out and the menu...CiviCRM uses a $_REQUEST['code'] parameter when building the CiviCRM navigation menu in wordpress. Unfortunately, so does the MiniOrange OAuth plugin for MS Azure integration, and the clash means that the Civi menu loses out and the menu doesn't get rendered.
This could be fixed in Civi core, or in the MiniOrange plugin, but both of these are resource hungry in both locating and fixing and the processes to get it integrated.
A civi extension, however, can unset[$_REQUEST['code']; in hook_civicrm_config().
Many thanks go to @pradeep :)https://lab.civicrm.org/dev/wordpress/-/issues/88Jquery error on wordpress 5.6 : I can't add custom data fields from the GUI2021-01-31T21:41:49ZjonathandhnJquery error on wordpress 5.6 : I can't add custom data fields from the GUIHi, I'm using Wordpress 5.6 and CiviCRM 5.33.2 and the field type input selector use a broken Jquery selector when I tried to add a custom data field.
![Screen shot](/uploads/84ec11dc8aba255b7321626ccdd824b6/Capture_d_écran_2021-01-20_...Hi, I'm using Wordpress 5.6 and CiviCRM 5.33.2 and the field type input selector use a broken Jquery selector when I tried to add a custom data field.
![Screen shot](/uploads/84ec11dc8aba255b7321626ccdd824b6/Capture_d_écran_2021-01-20_à_11.27.53.png)https://lab.civicrm.org/dev/wordpress/-/issues/86List of groups in search form and create new contact screen not respecting ACLs2021-01-25T05:20:08ZseamusleeList of groups in search form and create new contact screen not respecting ACLsIf you have an ACL on your system and it limits access to one or a specific set of groups this is correctly reflected on the Manage Groups screen but not when you go to do an advanced search and click the list of groups nor when you go t...If you have an ACL on your system and it limits access to one or a specific set of groups this is correctly reflected on the Manage Groups screen but not when you go to do an advanced search and click the list of groups nor when you go to create a new Individual and expand the Tags and Groups Section.
To replicate
1. Grant the Subscriber role access to the CiviCRM backend
2. Create a new ACL group called test group
3. Create a new Individual Test Contact
4. Add Test Contact into ACL group created in item 2
5. Create new ACL role called Test ACL role
6. Assign the Test ACL role to the Test Group created In item 2
7. Create an ACL for the Test ACL role granting edit access to the contacts in the Newsletter Subscribers group
8. Create a new WordPress role for the Test Contact created in item 3 give them just the Subscriber role.
9. Now login at the new user account in a new private window
10. Navigate to the Contacts -> Manage Groups Screen and see that it only shows you Newsletter Subscriber
11. Navigate to Advanced Search and Click on groups and see you get more than just the Newsletter Subscriber group returned
ping @kcristiano @JoeMurray5.35.0Monish DebMonish Debhttps://lab.civicrm.org/dev/wordpress/-/issues/71Upgrade error: Rebuild Multilingal Schema2020-08-24T20:21:45ZDeckwUpgrade error: Rebuild Multilingal SchemaI'm trying to upgrade CiviCRM on my WordPress website from 5.25.0 to 5.28.0.
I've already completed upgrades in the past.
When I try to update the database, the upgrade stays stuck on "[Executed: Rebuild Multilingal Schema]" and then af...I'm trying to upgrade CiviCRM on my WordPress website from 5.25.0 to 5.28.0.
I've already completed upgrades in the past.
When I try to update the database, the upgrade stays stuck on "[Executed: Rebuild Multilingal Schema]" and then after few minutes changes to: `"[Executed: undefined]"`.
It is the same issue with `5.26.0`, `5.27.0`, `5.28.0`, `5.28.2` updates.
Even if I try to do it in order, one by one.
I tried to enable debug mod, but it don't give me more details, except when I try to update the database again:
[![Update error log][1]][1]
On [Stack Exchange](https://civicrm.stackexchange.com/questions/37409/upgrade-error-rebuild-multilingal-schema), someone told me to restore a backup, disable logging and to try again, but still the same error.
I tried to disable all extension, downgrade WordPress to 5.4.2, and tried to install again 5.28.0 update (always from my 5.25.0 backup), but same issue...
Here is a video of the progress of the update:https://streamable.com/5fubww
Then, I tried to update to 5.28.2, but I'm still stuck on the same step: https://streamable.com/1bl0kt
I don't know where else to look, can you help me?
Thanks!
[1]: https://i.stack.imgur.com/78jmt.pnghttps://lab.civicrm.org/dev/wordpress/-/issues/70Broken update from 5.27.3 to 5.27.4 Wordpress2020-08-06T15:20:11ZjonathandhnBroken update from 5.27.3 to 5.27.4 WordpressWordpress is 5.4.2 <br />
PHP is 7.4.8 fpm behind apache2
___ Using Web __
DB unknown ERROR
___ Using CV ___
`cv upgrade:db `
```
Found CiviCRM database version 5.27.3.
Found CiviCRM code version 5.27.4.
<div id="crm-container" cla...Wordpress is 5.4.2 <br />
PHP is 7.4.8 fpm behind apache2
___ Using Web __
DB unknown ERROR
___ Using CV ___
`cv upgrade:db `
```
Found CiviCRM database version 5.27.3.
Found CiviCRM code version 5.27.4.
<div id="crm-container" class="crm-container" lang="fr" xml:lang="fr"><br />
<style type="text/css" media="screen"><br />
@import url(https://x-x.x/wp-content/plugins/civicrm/civicrm/css/civicrm.css);
@import url(https://x-x.x/wp-content/plugins/civicrm/civicrm/css/crm-i.css);
@import url(https://x-x.x/wp-content/plugins/civicrm/civicrm/bower_components/font-awesome/css/font-awesome.min.css);
</style>
<div class="messages status no-popup"> <i class="crm-i fa-exclamation-triangle crm-i-red" aria-hidden="true"></i>
<span class="status-fatal">Désolé, à cause d'une erreur, nous ne sommes pas en mesure, pour le moment, de satisfaire votre requête. Nous vous invitons à contacter votre administrateur système ou votre fournisseur de service en lui fournissant plus de détails sur l'action que vous étiez en train de réaliser quand cela est arrivé.</span>
<div class="crm-section crm-error-message"></div>
<hr style="solid 1px" />
<div class="crm-section crm-error-message">DB Error: unknown error</div>
<p><a href="https://x-x.x/" title="Menu principal">Retourner à la page d'accueil.</a></p>
</div>
</div>
<script language="JavaScript">
function toggle( element ) {
var parent = element.parentNode;
var className = parent.className;
if ( className == 'crm-accordion-wrapper collapsed crm-fatal-error-details-block') {
parent.className = 'crm-accordion-wrapper crm-fatal-error-details-block';
} else {
parent.className = 'crm-accordion-wrapper collapsed crm-fatal-error-details-block';
}
}
</script>
```