[SAC] [OSGeo] #2920: www.osgeo.org (wordpress): saving of edits leads to critical error

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+-----------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Keywords: wordpress
---------------------------+-----------------------
I tried to update the actinia page but after editing I got:

Log In ‹ OSGeo — WordPress

{{{
There has been a critical error on this website. Please check your site
admin email inbox for instructions.

Learn more about troubleshooting WordPress.
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920&gt;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+---------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+---------------------------------------
Changes (by robe):

* milestone: Unplanned => Sysadmin Contract 2023-I

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+---------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+---------------------------------------
Comment (by robe):

What were you updating on actinia page? I just clicked update on actinia
page and received no error. Also editing postgis page and got no error.
I thought there was a log within wordpress that showed errors, but can't
find it.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+---------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+---------------------------------------
Comment (by neteler):

I had updated various links (all github moved from github.com/mundialis/
ORG to github.com/actinia-org/ and others, too.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+---------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+---------------------------------------
Comment (by robe):

I was able to update the github links that had mundialis to actinia-org
with no error. So perhaps some sort of permission issue or browser cache
issue.

Can you clear out your browser cache and then try updating again.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:4&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+---------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+---------------------------------------
Comment (by neteler):

Thanks for having updated the links.

I eventually nailed it down:

Adding a new member under "Select members that are involved in this
project." it leads to above error.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:5&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+---------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+---------------------------------------
Comment (by robe):

Still can't replicate. I added myself to the project and that completed
fine, and then removed myself. Also fine. I did the same with PostGIS.

Maybe specific to the person you were adding?
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:6&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+---------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+---------------------------------------
Comment (by robe):

@neteler are you still having this issue?
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:7&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+---------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+---------------------------------------
Comment (by neteler):

I don't find the section "Select members that are involved in this
project." any more for the actinia community project, so no idea how to
edit that.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:8&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+---------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+---------------------------------------
Comment (by robe):

It's in the About section - "Who's involved". I thought it used to be a
separate tab on it's own at one point, but I could be mistaken
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:9&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+---------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution: fixed
Keywords: wordpress |
---------------------------+---------------------------------------
Changes (by neteler):

* status: new => closed
* resolution: => fixed

Comment:

Thanks, found it in the "About" tab.

And success, I was able to edit and save. Problem gone.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:10&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+----------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: reopened
Priority: normal | Milestone: Sysadmin Contract 2023-II
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+----------------------------------------
Changes (by robe):

* status: closed => reopened
* resolution: fixed =>
* milestone: Sysadmin Contract 2023-I => Sysadmin Contract 2023-II

Comment:

As discussed with neteler offlist, he is still having an issue adding a
specific user.

The error I am seeing in the log email is -

{{{
An error of type E_ERROR was caused in line 207 of the file
/var/www/osgeo.org/httpdocs/wp-content/themes/roots/lib/custom.php. Error
message: Uncaught Error: operator not supported for strings in
/var/www/osgeo.org/httpdocs/wp-content/themes/roots/lib/custom.php:207
Stack trace:
#0 /var/www/osgeo.org/httpdocs/core/wp-includes/class-wp-hook.php(308):
syncUsersForProject()
#1 /var/www/osgeo.org/httpdocs/core/wp-includes/class-wp-hook.php(332):
WP_Hook->apply_filters()

}}}

Why it's only an issue for trying to add this specific user I'm not sure,
but I think the code in our theme needs to be changed in our custom theme.

Vicky I'm reassigning to you since you have more experience with the php
side of this.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:11&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+----------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: reopened
Priority: normal | Milestone: Sysadmin Contract 2023-II
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+----------------------------------------
Comment (by cvvergara):

I could add my self,
Who are we trying to add?
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:12&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+----------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: reopened
Priority: normal | Milestone: Sysadmin Contract 2023-II
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+----------------------------------------
Comment (by neteler):

I'll send the name off-trac to you.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:13&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
---------------------------+----------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: reopened
Priority: normal | Milestone: Sysadmin Contract 2023-II
Component: Systems Admin | Resolution:
Keywords: wordpress |
---------------------------+----------------------------------------
Comment (by cvvergara):

About adding the contributor to actinia:

Change on Project:
* Who's involved: added the contributor

List of tests done

**test 1**

Change on profile:
   * Name: was blank -> added the name
   * After adding the contributor **FAIL**

**test 2**

Change on profile:
* Project Contributor: -> added actinia
* (with or without name)
* After adding the contributor **SUCCESS**

Same problem on dev.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2920#comment:14&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2920: www.osgeo.org (wordpress): saving of edits leads to critical error
-----------------------+----------------------------------------
Reporter: neteler | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2023-II
Component: SysAdmin | Resolution: fixed
Keywords: wordpress |
-----------------------+----------------------------------------
Changes (by cvvergara):

* status: reopened => closed
* resolution: => fixed

Comment:

Made the tests again, I did not have the problems.
Maybe was solved when updating WordPress
--
Ticket URL: <#2920 (www.osgeo.org (wordpress): saving of edits leads to critical error) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.