#wordpress 2024-12-12

2024-12-12 UTC
[Sophia_wood], gRegorLove_, gRegor, [Joe_Crawford], [Jo], [KevinMarks], [snarfed], Zegnat, ben, [morganm]1, [aciccarello]1, IWSlackGateway7, [tantek]2, [Murray]1, [benatwork] and Guest6 joined the channel
#
jeremycherfas
!tell GWG after editing config.php I now get this error: "Warning: Constant WEBMENTION_LOCAL_AVATAR_STORE already defined in /Users/jeremycherfas/sites/MAMP-htdocs/ClassicPress-release-1.5.2/wp-config.php on line 93"
#
Loqi
Ok, I'll tell them that when I see them next
#
jeremycherfas
Where else might it have been defined to merit that "already"?
#
GWG
jeremycherfas: We're going to discontinue that and make it a setting shortly
#
Loqi
GWG: jeremycherfas left you a message 47 minutes ago: after editing config.php I now get this error: "Warning: Constant WEBMENTION_LOCAL_AVATAR_STORE already defined in /Users/jeremycherfas/sites/MAMP-htdocs/ClassicPress-release-1.5.2/wp-config.php on line 93"
#
GWG
But what is on line 93?
#
jeremycherfas
Exactly what you told me to put there. `define('WEBMENTION_LOCAL_AVATAR_STORE', true );`
#
GWG
Is it somewhere else in the file?
#
GWG
Because I have that in my config
[snarfed] joined the channel
#
jeremycherfas
No, nowhere else in config.php
#
[Joe_Crawford]
`defined( 'WEBMENTION_LOCAL_AVATAR_STORE' ) || define( 'WEBMENTION_LOCAL_AVATAR_STORE', false );`
#
GWG
But we need true
#
GWG
And since the plugin defines it
#
GWG
Either way...
gRegor, sebbu2 and [pfefferle] joined the channel
#
[pfefferle]
*jeremycherfas do you use the constant in multiple areas?*
#
[pfefferle]
the const in the config should be loaded first, so the fallback const wouldn't be loaded
[aciccarello] and angelo joined the channel