Got the same problem when upgrading from 3.2.1 to 3.2.2. I've already tried those 3 fixes from here* and changing
$dbms
in config to mysqli
with no effect.Normally I'm using "automatic update" package, although my board has no changes to the core files (I like to see event changes in prosilver, so I can reflect them in my own style). This time it failed (asking to replace
phpbb/content_visibility.php
over and over), so I downloaded "full package" as suggested. What I'm trying to do is update database only. I have followed these instructions step by step until #9.As you can see, my error looks exactly the same: The errors reported is:
Code: Select all
[Mon Mar 12 12:22:33.820162 2018] [:error] [pid 16644:tid 1980] [client ::1:52511] PHP Fatal error: Call to a member function get() on null in forum\\install\\update\\new\\phpbb\\db\\migration\\data\\v32x\\merge_duplicate_bbcodes.php on line 49, referer: forum/install/app.php/update
An hour later: Lesson learned. I should always pay attention to whole error report, not just the message and filename. The problem was caused by leftover files in
/install
folder. Appearently, the tutorial for full upgrade doesn't mention, it should also be cleared of any old content (room for improvement?). The original "automatic update" version also had file merge_duplicate_bbcodes.php
(in old
and new
folders). So I deleted it and uploaded only content from "full package". This fixed "The installer detected timeout" error.Or maybe not...
But a new error appeared. Maybe I should make a separate topic for that? Not sure, if these two are connected... This seems to be an error message from
vendor\s9e\text-formatter\src\Plugins\BBCodes\Configurator\BBCodeMonkey.php
:
Code: Select all
protected function addAttributes(array $definitions, BBCode $bbcode, Tag $tag)
{
$composites = [];
$table = [];
foreach ($definitions as $_e874cdc7)
{
list($attrName, $definition) = $_e874cdc7;
if (!isset($bbcode->defaultAttribute))
$bbcode->defaultAttribute = $attrName;
$tokens = $this->parseTokens($definition);
if (empty($tokens))
throw new RuntimeException('No valid tokens found in ' . $attrName . "'s definition " . $definition);
// Is this it?
Edit - conflicting bbcodes:
Seems like this is completely separate issue. There are two similar BBCodes on my board: And
merge_duplicate_bbcodes.php
is trying to somehow merge them, but fails? Can I do that manually? I'm still missing some simple manual for writing custom BBCodes in 3.2.x. There are some docs for s9e/textFormatter out there, but they seem a little overkill. Probably should give it a try in the meantime.Edit - attachments on this board seem to be broken:
Just a quick note: Every time I edit a post with multiple attachments, these attachments (except one) disappear and I have to upload them again. Am I the only one having this issue? Where should I report it?