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

OSGeo trac_osgeo at osgeo.org
Sun Aug 13 15:32:07 PDT 2023


#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>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Sac mailing list