core issueshttps://framagit.org/hubzilla/core/-/issues2024-03-26T12:42:48Zhttps://framagit.org/hubzilla/core/-/issues/1850PHP Fatal error: Uncaught TypeError: array_key_exists() - 9.0.1 - 12632024-03-26T12:42:48Zivan zlaxPHP Fatal error: Uncaught TypeError: array_key_exists() - 9.0.1 - 1263After upgrading to version 9.0.1, the logs are full of the same type of errors (every few minutes):
`[proxy_fcgi:error] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must...After upgrading to version 9.0.1, the logs are full of the same type of errors (every few minutes):
`[proxy_fcgi:error] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /hubzilla/Zotlabs/Lib/Activity.php:1088\nStack trace:\n#0 /hubzilla/Zotlabs/Lib/Activity.php(1088): array_key_exists()\n#1 /hubzilla/Zotlabs/Lib/Activity.php(569): Zotlabs\\Lib\\Activity::encode_person()\n#2 /hubzilla/Zotlabs/Lib/Activity.php(247): Zotlabs\\Lib\\Activity::encode_item()\n#3 /hubzilla/extend/addon/hzaddons/diaspora/Receiver.php(1696): Zotlabs\\Lib\\Activity::fetch_item()\n#4 /hubzilla/addon/hzaddons/diaspora/inbound.php(167): Diaspora_Receiver->like()\n#5 /hubzilla/extend/addon/hzaddons/diaspora/inbound.php(79): diaspora_dispatch()\n#6 /hubzilla/extend/addon/hzaddons/diaspora/Mod_Receive.php(166): diaspora_dispatch_public()\n#7 /hubzilla/Zotlabs/Web/Router.php(274): Zotlabs\\Module\\Receive->post()\n#8 /hubzilla/Zotlabs/Web/WebServer.php(1...'`https://framagit.org/hubzilla/core/-/issues/1849Warning: Undefined array key "atform" in /var/www/html/Zotlabs/Module/Registe...2024-03-26T11:41:09ZDanieWarning: Undefined array key "atform" in /var/www/html/Zotlabs/Module/Register.php on line 500Getting this error on the Registration web page in browser. It throws up the following message above the form, where the form does still display:
```
Warning: Undefined array key "atform" in /var/www/html/Zotlabs/Module/Register.php on ...Getting this error on the Registration web page in browser. It throws up the following message above the form, where the form does still display:
```
Warning: Undefined array key "atform" in /var/www/html/Zotlabs/Module/Register.php on line 500
Warning: Undefined array key "atform" in /var/www/html/Zotlabs/Module/Register.php on line 503
Warning: Undefined array key "atform" in /var/www/html/Zotlabs/Module/Register.php on line 504
Warning: Undefined array key "atform" in /var/www/html/Zotlabs/Module/Register.php on line 508
Warning: Undefined array key "atform" in /var/www/html/Zotlabs/Module/Register.php on line 510
Warning: Undefined array key "atform" in /var/www/html/Zotlabs/Module/Register.php on line 512
Warning: Undefined array key "atform" in /var/www/html/Zotlabs/Module/Register.php on line 530
Warning: Undefined variable $validate in /var/www/html/Zotlabs/Module/Register.php on line 537
Warning: Undefined variable $validate_link in /var/www/html/Zotlabs/Module/Register.php on line 538
Warning: Undefined variable $validate_here in /var/www/html/Zotlabs/Module/Register.php on line 539
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/Zotlabs/Module/Register.php:500) in /var/www/html/boot.php on line 2435
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/Zotlabs/Module/Register.php:500) in /var/www/html/boot.php on line 2440
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/Zotlabs/Module/Register.php:500) in /var/www/html/boot.php on line 2470
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/Zotlabs/Module/Register.php:500) in /var/www/html/boot.php on line 2484
```
The second thing I've noticed is if I complete the Registration form, as soon as I click inside the password field, it inserts the text below into the nickname field, overwriting what was filled in:
`<br /><b>Warning</b>: Undefined array key 0 in <b>/var/www/html/Zotlabs/Module/New_channel.php</b> on line <b>35</b><br /><br /><b>Warning</b>: Cannot modify header information - headers already sent by (output started at /var/www/html/Zotlabs/Module/New_channel.php:35) in <b>/var/www/html/include/network.php</b> on line <b>421</b><br />"name"`
It is inserting the text from the name field. If the name field is blank, nothing gets copied in.
I'm not sure if this is a code related issue as this is with v9.0, and I tested v8.8.8 as well. I'm suspecting it may have to do with Nginx Proxy Manager, even. Other thing is this is a Docker install from https://github.com/dhitchenor/hubzilla, and I have been working the last two days with that author to try to troubleshoot this. His setup uses Traefik reverse proxy though. But any help is welcome to at least help us pinpoint what the cause could be, as we've run out of ideas. I also searched for any advanced configs required for NginxPM and Hubzilla, but there is no mention of any. The Traefik labels also look pretty basic with just a forwarding
Specifically, I have a Nginx Proxy Manager container (which already handles Wordpress, Nextcloud, etc) and no additional code apart from forwarding requests from NginxPM to http://hub_web:80 (which is the Hubzilla web Nginx service). Hub_web is forwarding to hub:9000 where hub is the main Hubzilla service listening on port 9000. Welcome web page is loading fine and no errors.
I did also try Remote Authentication to my other Hubzilla channel, and after clicking Authenticate button I see this error:
```
Warning: Undefined array key "return_url" in /var/www/html/Zotlabs/Module/Rmagic.php on line 82
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/Zotlabs/Module/Rmagic.php:82) in /var/www/html/boot.php on line 1782
```
It may be something to do with the nginx.conf file for the Hubzilla Nginx web service. I realise this is not the "standard" Hubzilla bare metal install, but I'm hoping someone who knows the code would at least be able to verify:
1. It is a Hubzilla code issue or not?
2. Help pinpoint where the actual issue may be if it is something that can be resolved through configuration.https://framagit.org/hubzilla/core/-/issues/1848Delivery report not displayed2024-03-23T07:25:49ZcybrkydDelivery report not displayedSince version 9.0, all messages Delivery Reports are not displayed.
When requested, the page is redirected correctly but the report page is blank. Navigating back or further, an error message is seen "Invalid Message".
![Screenshot_fro...Since version 9.0, all messages Delivery Reports are not displayed.
When requested, the page is redirected correctly but the report page is blank. Navigating back or further, an error message is seen "Invalid Message".
![Screenshot_from_2024-03-23_07-17-38](/uploads/048d399b364d3444e62771d33171c4ef/Screenshot_from_2024-03-23_07-17-38.png)https://framagit.org/hubzilla/core/-/issues/1847Bug: Hubzilla pinned posts do not appear to be pinned in Mastodon.2024-03-07T22:18:33ZjayropeBug: Hubzilla pinned posts do not appear to be pinned in Mastodon.Hubzilla pinned posts do not appear to be pinned in Mastodon.
Anything i can do about that? Thanks in advance.
P.S.: I guess a solution to this requires to work in conjunction with the Mastodon Github. (?)Hubzilla pinned posts do not appear to be pinned in Mastodon.
Anything i can do about that? Thanks in advance.
P.S.: I guess a solution to this requires to work in conjunction with the Mastodon Github. (?)https://framagit.org/hubzilla/core/-/issues/1846Feature Request: Easy adding of Custom CSS2024-03-07T22:15:47ZjayropeFeature Request: Easy adding of Custom CSSI've a small feature request:
Can we add a Custom CSS field to /settings/display -> Custom Theme settings
in order to allow for users to add custom CSS without having to renew their edits every time /view/theme/redbasic/css/style.css ge...I've a small feature request:
Can we add a Custom CSS field to /settings/display -> Custom Theme settings
in order to allow for users to add custom CSS without having to renew their edits every time /view/theme/redbasic/css/style.css gets updated?
I can imagine two versions for that.
1. Either just add a "Custom CSS" with a radio button or tickbox. This would only lead adding a line to the end of style.css, like this
@import url(custom.css);
invoking a custom.css in the same folder with the users own changes.
2. Make "Custom CSS" a field to add additional CSS directly (and to be saved in the database), and invoke that in the end of style.css-
In both cases I'd invoke that **in the end **of style.css, because it makes overrides of already defined rules possible without using an additional "!important" any time such an existing rule is hit.
@mario @snake66
This method would also circumvent going through an entire theme change - or the existing, but somehow intangible way to add changes to a theme otherwise.
Thank you for all you do!https://framagit.org/hubzilla/core/-/issues/1845[Feature Request] Reverse text and image / video position in incoming posts2024-03-07T09:24:19Zcybrkyd[Feature Request] Reverse text and image / video position in incoming postsIncoming posts from outside Hubzilla (Activitypub instances) with text+image or text+video have the positions reversed in Hubzilla. Originals are posted with the text at the top of the body followed by the image or video below. When it i...Incoming posts from outside Hubzilla (Activitypub instances) with text+image or text+video have the positions reversed in Hubzilla. Originals are posted with the text at the top of the body followed by the image or video below. When it is viewed in Hubzilla, the position of the text image/video is reversed.
Request is to maintain the original formatting where text is first, followed by image/video.
Posted from Misskey:
![Screenshot_from_2024-02-21_22-24-24](/uploads/daa999dd7db460f0813d6bc367757037/Screenshot_from_2024-02-21_22-24-24.png)
How it appears in Hubzilla:
![Screenshot_from_2024-02-21_22-24-48](/uploads/3810cba9ea3aa5d4d3f85ff288fc2cdb/Screenshot_from_2024-02-21_22-24-48.png)https://framagit.org/hubzilla/core/-/issues/1844Special characters in summary are converted to HTML entities, sent through Pu...2024-03-04T10:34:59ZJupiter RowlandSpecial characters in summary are converted to HTML entities, sent through PubCrawl as HTML entities and not converted back to characters when editing the postThe Hubzilla post editor converts all special characters into their corresponding HTML entities. However, some parts of Hubzilla that should convert them back into the characters they're supposed to be don't do so, at least not in the su...The Hubzilla post editor converts all special characters into their corresponding HTML entities. However, some parts of Hubzilla that should convert them back into the characters they're supposed to be don't do so, at least not in the summary.
For one, this is Hubzilla's own post editor. Special characters written in the summary field appear as their HTML entities in the summary field when editing the post. If you type a `"` in a summary, and you edit the post, there will be `"` where there should be `"`.
This also means that when editing and saving the post, these HTML entities will be converted into HTML versions of _themselves_. So with each edit, `"` becomes `"`, then `&quot;` because the `&` in `"` is converted into its own HTML entity `&` and not converted back, then `&amp;quot;`, then `&amp;amp;quot;` and so forth.
Besides, special characters in summaries are sent through non-Zot protocols as their HTML entities as well. At least, I have experienced this behaviour in the case of ActivityPub. And ActivityPub-based projects do not necessarily (read: generally not at all) expect and convert HTML entities. So any special character in a summary on Hubzilla will appear as its HTML entity in the content warning on e.g. Mastodon.
## Steps to reproduce: ##
1. Have at least one Mastodon contact.
2. Write a post with "Test" (quotation marks included) as the summary.
4. Check the post on Hubzilla and Mastodon.
3. Send the post publicly or to that Mastodon contact.
5. Edit the post and resend it to the same audience.
6. Check the post on Hubzilla and Mastodon again.
7. Edit the post once more and resend it to the same audience.
8. Check the post on Hubzilla and Mastodon again.
## What "Test" should be expected to look like:
- In Hubzilla's summary after the first time sending it: `"Test"`
- In Mastodon's content warning after the first time sending it: `"Test"`
- In Mastodon's content warning after the third time sending it: `"Test"`
- In the post editor when editing the post for the first time: `"Test"`
- In Hubzilla's summary after the second time sending it: `"Test"`
- In the post editor when writing the post: `"Test"`
- In Mastodon's content warning after the second time sending it: `"Test"`
- In the post editor when editing the post for the first time: `"Test"`
- In Hubzilla's summary after the third time sending it: `"Test"`
## What "Test" will actually look like:
- In the post editor when writing the post: `"Test"`
- In Hubzilla's summary after the first time sending it: `"Test"`
- In Mastodon's content warning after the first time sending it: `"Test"`
- In the post editor when editing the post for the first time: `"Test"`
- In Hubzilla's summary after the second time sending it: `"Test"`
- In Mastodon's content warning after the second time sending it: `&quot;Test&quot;`
- In the post editor when editing the post for the first time: `&quot;Test&quot;`
- In Hubzilla's summary after the third time sending it: `&quot;Test&quot;`
- In Mastodon's content warning after the third time sending it: `&amp;quot;Test&amp;quot;`https://framagit.org/hubzilla/core/-/issues/1843Excessive new line after the embed content2024-03-20T21:08:34Zivan zlaxExcessive new line after the embed contentAn extra new line is added to the body of the post after using `[ebmed][/embed]`, which breaks the formatting.
![Screenshot_from_2024-02-17_20-04-38](/uploads/6b59d2a3767f4f19e758b41697ec1b15/Screenshot_from_2024-02-17_20-04-38.jpg)An extra new line is added to the body of the post after using `[ebmed][/embed]`, which breaks the formatting.
![Screenshot_from_2024-02-17_20-04-38](/uploads/6b59d2a3767f4f19e758b41697ec1b15/Screenshot_from_2024-02-17_20-04-38.jpg)Harald Eilertsenharaldei@anduin.netHarald Eilertsenharaldei@anduin.nethttps://framagit.org/hubzilla/core/-/issues/1842The "Report Bug" app does not work for unregistered users2024-03-26T12:36:11Zivan zlaxThe "Report Bug" app does not work for unregistered usersIf i press "Report Bug" as unregistered user (in the private tab for example), the browser says: "framagit.org refused to connect."
If i press "Report Bug" as registered user, the browser redirects to `https://framagit.org/hubzilla/core...If i press "Report Bug" as unregistered user (in the private tab for example), the browser says: "framagit.org refused to connect."
If i press "Report Bug" as registered user, the browser redirects to `https://framagit.org/hubzilla/core/-/issues` as expected.https://framagit.org/hubzilla/core/-/issues/1841[Feature request] Do not import Public stream posts by this author2024-03-02T19:18:13Zivan zlax[Feature request] Do not import Public stream posts by this authorIt is possible to exclude posts with certain text from being added to the Public stream, using the "Do not import Public stream posts with this text" feature. This is realised by analysing the `body` of the post.
Some authors do not mar...It is possible to exclude posts with certain text from being added to the Public stream, using the "Do not import Public stream posts with this text" feature. This is realised by analysing the `body` of the post.
Some authors do not mark their publications with the "nsfw" tag, but regularly publish inappropriate content. So please extend this feature (or add separately a new one) also similarly analysing the author of the post (`author_xchan`), so that the administrator can exclude individual authors from being added to the Public stream.https://framagit.org/hubzilla/core/-/issues/1840Empty field in Administration - Site2024-03-18T18:30:52Zivan zlaxEmpty field in Administration - SiteIn the `/admin/site` page there is unknown empty field between "Name of email sender for system generated email." and "System theme" fields:
![Screenshot_from_2024-02-17_16-31-34](/uploads/b88f3677e62283525778b1d07bdcbe0e/Screenshot_fro...In the `/admin/site` page there is unknown empty field between "Name of email sender for system generated email." and "System theme" fields:
![Screenshot_from_2024-02-17_16-31-34](/uploads/b88f3677e62283525778b1d07bdcbe0e/Screenshot_from_2024-02-17_16-31-34.jpg)Harald Eilertsenharaldei@anduin.netHarald Eilertsenharaldei@anduin.nethttps://framagit.org/hubzilla/core/-/issues/1839[Feature request] Show details for an event also by mouse hover2024-03-02T19:26:49ZRocky[Feature request] Show details for an event also by mouse hoverwould be nice if the details for an event could be seen also by mouse hover if we are on the /cdav/calendar or /cal/ pagewould be nice if the details for an event could be seen also by mouse hover if we are on the /cdav/calendar or /cal/ pagehttps://framagit.org/hubzilla/core/-/issues/1838Update of DB migration2024-03-02T19:27:22ZPapa DragonUpdate of DB migrationHi there!
Is there any chance the database migration from mysql to postgresql could be updated? The files are 9 years old and could need to be updated.
Note that I make this request because I'm working on the very same migration for th...Hi there!
Is there any chance the database migration from mysql to postgresql could be updated? The files are 9 years old and could need to be updated.
Note that I make this request because I'm working on the very same migration for the Hubzilla YunoHost package. Using the file migrate_mypg_fixseq.sql seems to work, but only partially. I'm guessing this is because the file is outdated.
FYI, here are the errors I get when I use the said file:
```
Warning: ERROR: relation "public.conv" does not exist
Warning: LINE 1: ...'public.conv_id_seq', COALESCE(MAX(id), 1) ) FROM public.con...
Warning: ^
Warning: ERROR: relation "public.fcontact" does not exist
Warning: LINE 1: ...lic.fcontact_id_seq', COALESCE(MAX(id), 1) ) FROM public.fco...
Warning: ^
Warning: ERROR: relation "public.ffinder" does not exist
Warning: LINE 1: ...blic.ffinder_id_seq', COALESCE(MAX(id), 1) ) FROM public.ffi...
Warning: ^
Warning: ERROR: relation "public.fserver" does not exist
Warning: LINE 1: ...blic.fserver_id_seq', COALESCE(MAX(id), 1) ) FROM public.fse...
Warning: ^
Warning: ERROR: relation "public.fsuggest" does not exist
Warning: LINE 1: ...lic.fsuggest_id_seq', COALESCE(MAX(id), 1) ) FROM public.fsu...
Warning: ^
Warning: ERROR: relation "public.group_member" does not exist
Warning: LINE 1: ...group_member_id_seq', COALESCE(MAX(id), 1) ) FROM public.gro...
Warning: ^
Warning: ERROR: relation "public.groups" does not exist
Warning: LINE 1: ...ublic.groups_id_seq', COALESCE(MAX(id), 1) ) FROM public.gro...
Warning: ^
Warning: ERROR: relation "public.mail" does not exist
Warning: LINE 1: ...'public.mail_id_seq', COALESCE(MAX(id), 1) ) FROM public.mai...
Warning: ^
Warning: ERROR: relation "public.manage" does not exist
Warning: LINE 1: ...ublic.manage_id_seq', COALESCE(MAX(id), 1) ) FROM public.man...
Warning: ^
Warning: ERROR: column "id" does not exist
Warning: LINE 1: ...ECT SETVAL('public.register_id_seq', COALESCE(MAX(id), 1) ) ...
Warning: ^
Warning: ERROR: relation "public.spam" does not exist
Warning: LINE 1: ...'public.spam_id_seq', COALESCE(MAX(id), 1) ) FROM public.spa...
```
I've tried a few things in the package, but I'm getting nowhere. I'm pretty sure that having an updated file in the Hubzilla repo would help me solve this.Harald Eilertsenharaldei@anduin.netHarald Eilertsenharaldei@anduin.nethttps://framagit.org/hubzilla/core/-/issues/1837Post not distributed2024-03-24T10:01:38ZEmaxmax MaxPost not distributedI wrote this comment: https://hub.netzgemeinde.eu/display/b64.aHR0cHM6Ly9odWIubmV0emdlbWVpbmRlLmV1L2l0ZW0vNjQyNTEzMzQtNTRhZS00Y2M1LWE0NzMtMjg2ZWI3ZGJiMWM0 \
To this post: https://gs.leftic.club/@katronoris/111753731649376978
It doesn't ...I wrote this comment: https://hub.netzgemeinde.eu/display/b64.aHR0cHM6Ly9odWIubmV0emdlbWVpbmRlLmV1L2l0ZW0vNjQyNTEzMzQtNTRhZS00Y2M1LWE0NzMtMjg2ZWI3ZGJiMWM0 \
To this post: https://gs.leftic.club/@katronoris/111753731649376978
It doesn't appear on the initial post\
The distribution report of my post is empty (expect my clone)
Other posts are well distributed (and dreports are *not* empty)https://framagit.org/hubzilla/core/-/issues/1836Looking for a better way to track, manage, and/or customize .htaccess2024-01-09T04:28:19ZRandall JaffeLooking for a better way to track, manage, and/or customize .htaccess.htaccess can be used to implement a multitude of custom, Apache configurations. But, the default, webroot .htaccess file in this git repo will overwrite any local, customized .htaccess during a git pull update.
So, people should have t....htaccess can be used to implement a multitude of custom, Apache configurations. But, the default, webroot .htaccess file in this git repo will overwrite any local, customized .htaccess during a git pull update.
So, people should have the option to maintain a custom .htaccess file.
As per issue #1834, I propose _something like_ 1 of the 2 following solutions:
**Solution \#1: _To ONLY create custom URL rewriting rules_**
1) Add a "[RewriteOptions InheritBefore](https://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewriteoptions)" directive to the mod_rewrite section in the existing repo .htaccess file that:
- _If_ Hubzilla should run in a virtual host's webroot directory, requires the virtual host's _default_ web root directory to be changed to a custom directory beneath the previous, default webroot directory
- Requires Hubzilla installation in a default webroot's subdirectory or, as indicated above, a custom webroot directory
- Enables a custom .htaccess file in the Hubzilla installation's parent directory whose rewrite rules supersede Hubzilla's core rewrite rules
- Requires NO mod_rewrite directives in core Apache server config files that could, in some cases, potentially and detrimentally supersede Hubzilla's core rewrite rules (maybe a deal breaker?? -- I don't know if this is common)
**Solution \#2**
1) Rename the existing repo .htaccess file to, e.g., .htaccess.default
2) Create a new installation (PHP or Bash?) script that:
- Runs git pull
- Checks for the existence of .htaccess in the local repo copy
- If no .htaccess exists, then copy .htaccess.default to a new .htaccess file
- If .htaccess does exist and is identical to .htaccess.default, do nothing
- If .htaccess does exist and is not identical to .htaccess.default, log a message in php.out?? (or elsewhere) saying that new .htaccess updates are available in .htaccess.defaulthttps://framagit.org/hubzilla/core/-/issues/1835New hooks needed for CAPTCHA addon2024-01-19T11:29:12ZScott M. StolzNew hooks needed for CAPTCHA addonWe are working on a CAPTCHA addon that works with hCAPTCHA, reCAPTCHA, and other similar solutions. We discovered that we need some additional hooks in `include/auth.php` and `Zotlabs/Module/Register.php` to make this happen.
Screenshot...We are working on a CAPTCHA addon that works with hCAPTCHA, reCAPTCHA, and other similar solutions. We discovered that we need some additional hooks in `include/auth.php` and `Zotlabs/Module/Register.php` to make this happen.
Screenshots will be added as comments. We wanted to open an issue and get feedback before submitting.
If there are no objections, we will do some more testing on our end, and then submit a pull request.https://framagit.org/hubzilla/core/-/issues/1834A home page that does not redirect2024-01-21T20:42:50ZScott M. StolzA home page that does not redirectWe are building websites that have a home page, and one of the requirements is that if you go to the root of `example.com`, it does not redirect you to another page... it just displays the home page.
There are a variety of ways to make ...We are building websites that have a home page, and one of the requirements is that if you go to the root of `example.com`, it does not redirect you to another page... it just displays the home page.
There are a variety of ways to make this happen. One is changing the rewrite directive in `.htaccess`. But we discovered that `.htaccess` is included in the core and might overwrite our version.
And using `include:home.php` in the admin settings for the home page won't solve the problem since you can't get to the home page when logged in, since it redirects to `/hq`.
One possible solution is to change `.htaccess` so that local changes won't get overwritten. This has its pros and cons. Namely that you have to manually change if for every website, and if the core needs to change the `.htaccess`, each site has to manually update `.htaccess`.
The other solution is to change how the core handles the home page. This is the preferred way.
We can set it up so that people have a choice on how it behaves.
Option 1: Root `/` shows home page when logged out, redirects to `/hq` when logged in.
Option 2: Root `/` always shows home page.
Before we spend a lot of time working on this, we want to know if a change like this would be accepted in the core.https://framagit.org/hubzilla/core/-/issues/1833Enabling Child Themes2024-01-18T11:02:29ZScott M. StolzEnabling Child ThemesWe discovered that a small change is needed in the core to allow custom themes to have their own child theme.
This needs to be added to the include/plugin.php file:
`'extends' => 'redbasic'`
![child-theme-change-1](/uploads/64611b90957...We discovered that a small change is needed in the core to allow custom themes to have their own child theme.
This needs to be added to the include/plugin.php file:
`'extends' => 'redbasic'`
![child-theme-change-1](/uploads/64611b90957b8bfa9cbf74e6ba0dfffb/child-theme-change-1.jpg)
And the theme needs to add a line as well in /view/theme/example/php/theme.php
`Extends: neuhub-tab`
(or whatever the name of the theme is)
Unless there is an objection, we will do some more testing and then submit a pull request.https://framagit.org/hubzilla/core/-/issues/1832PHP Fatal error Undefined constant in hzaddons/statistics/nodeinfo.php - 8.8....2024-03-24T10:01:13Zivan zlaxPHP Fatal error Undefined constant in hzaddons/statistics/nodeinfo.php - 8.8.5 - 1259Found that apache2 errorlog is full of such error with the latest version of Hubzilla:
`[proxy_fcgi:error] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Undefined constant "EMPTY_STRING" in /hubzilla/extend/addon/hz...Found that apache2 errorlog is full of such error with the latest version of Hubzilla:
`[proxy_fcgi:error] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Undefined constant "EMPTY_STRING" in /hubzilla/extend/addon/hzaddons/statistics/nodeinfo.php:10\nStack trace:\n#0 /hubzilla/Zotlabs/Web/Router.php(292): nodeinfo_content()\n#1 /hubzilla/Zotlabs/Web/WebServer.php(110): Zotlabs\\Web\\Router->Dispatch()\n#2 /hubzilla/index.php(14): Zotlabs\\Web\\WebServer->run()\n#3 {main}\n thrown in /hubzilla/extend/addon/hzaddons/statistics/nodeinfo.php on line 10'`https://framagit.org/hubzilla/core/-/issues/1831[CalDav app] Saving events fail when the location include commas2024-01-19T20:42:45ZDaniel Hernandez[CalDav app] Saving events fail when the location include commasI accessed one of my CalDav calendars with Evolution (Hubzilla version: 8.8.4, Evolution version: 3.50.1). I created a new event whose location is Hersonissos. Then, I saved the event without problem. However, if I change the location to...I accessed one of my CalDav calendars with Evolution (Hubzilla version: 8.8.4, Evolution version: 3.50.1). I created a new event whose location is Hersonissos. Then, I saved the event without problem. However, if I change the location to "Hersonissos, Crete, Greece" or just "Hersonissos," (with the comma) then Evolution shows the following error:
```
Cannot modify calendar object: Failed to put data: HTTP error code 500 (Internal Server Error): 4.4.0
PDOException
SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type bytea
CONTEXT: unnamed portal parameter $1 = '...'[sabredav-version][exception][message]
```