Warning: Illegal string offset 'extension'
Posted: Sat Apr 10, 2021 5:51 pm
I'm still working on upgrading our old v.1 Serendipity Blog to v2.3.5
We run on FreeBSD server, all current versions of everything, PHP 7.4, etc.
I'm doing my 'test' work on a Windoze Box using XAMMP.
I did another fresh install of Serendipity 2.3.5 this morning.
I'm trying to imitate what I will be doing later on the live FreeBSD server...
But on the Windoze box...
I copied over our theme and activated it.
I replaced specific database tables (authors, category, entries, images, 7 in all) with copies from the current installation.
I was able to log in, activate our theme, move around OK, see the blog, add/edit entries.
Then I rebooted my Windoze box, fired up XAMMP, and wanted to make sure everything was still a go.
When I log into the Admin area I get
'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open http://localhost/blog/index.php?/plugin ... _editor.js manually in your browser and check for error messages.
When I click on the link I get:
== SERENDIPITY ERROR ==
Warning: Illegal string offset 'extension' in \htdocs\blog\include\functions_images.inc.php on line 2333.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.
and in the Debug Console
Uncaught SyntaxError: Unexpected token '<'
http://localhost/blog/index.php?/plugin ... ditor.js:2
And with that, I'm back to our current problem on the live site on FreeBSD, which is when we go to Content and try to enter a New Entry or Edit Entries, we can't select a category.
On my test install, I did install CKEditor Plus, when I removed it the problem seemed to go away, sorta.
I have one account, Standard editor, where the entries is working.
I try another account, Administrator, and I get the error above.
It's not making any sense to me. I'm worried we'll see the same behaviour on the FreeBSD box so I'm wondering if this is some weird Windoze/XAMMP thing I'm hitting?
We run on FreeBSD server, all current versions of everything, PHP 7.4, etc.
I'm doing my 'test' work on a Windoze Box using XAMMP.
I did another fresh install of Serendipity 2.3.5 this morning.
I'm trying to imitate what I will be doing later on the live FreeBSD server...
But on the Windoze box...
I copied over our theme and activated it.
I replaced specific database tables (authors, category, entries, images, 7 in all) with copies from the current installation.
I was able to log in, activate our theme, move around OK, see the blog, add/edit entries.
Then I rebooted my Windoze box, fired up XAMMP, and wanted to make sure everything was still a go.
When I log into the Admin area I get
'The Serendipity JavaScript-library could not be loaded. This can happen due to PHP or Plugin errors, or even a malformed browser cache. To check the exact error please open http://localhost/blog/index.php?/plugin ... _editor.js manually in your browser and check for error messages.
When I click on the link I get:
== SERENDIPITY ERROR ==
Warning: Illegal string offset 'extension' in \htdocs\blog\include\functions_images.inc.php on line 2333.
For more details set $serendipity['production'] = 'debug' in serendipity_config_local.inc.php to receive a stack-trace.
and in the Debug Console
Uncaught SyntaxError: Unexpected token '<'
http://localhost/blog/index.php?/plugin ... ditor.js:2
And with that, I'm back to our current problem on the live site on FreeBSD, which is when we go to Content and try to enter a New Entry or Edit Entries, we can't select a category.
On my test install, I did install CKEditor Plus, when I removed it the problem seemed to go away, sorta.
I have one account, Standard editor, where the entries is working.
I try another account, Administrator, and I get the error above.
It's not making any sense to me. I'm worried we'll see the same behaviour on the FreeBSD box so I'm wondering if this is some weird Windoze/XAMMP thing I'm hitting?