Topic on Extension talk:PageProperties

Error when installing on 1.38

5
Brunodapei (talkcontribs)

Hello. i tried to install but "php maintenance/update.php" doesnt work and an error occurs. this is error log:


[25-Jul-2022 23:01:17 Europe/Rome] PHP Fatal error:  Uncaught Error: Non-static method PageProperties::__constructStatic() cannot be called statically in /home/public_html/wiki/extensions/PageProperties/includes/PageProperties.php:715

Stack trace:

#0 /home/public_html/wiki/includes/AutoLoader.php(116): require()

#1 [internal function]: AutoLoader::autoload('PageProperties')

#2 /home/public_html/wiki/includes/registration/ExtensionRegistry.php(568): is_callable('PageProperties:...')

#3 /home/public_html/wiki/includes/registration/ExtensionRegistry.php(258): ExtensionRegistry->exportExtractedData(Array)

#4 /home/public_html/wiki/includes/Setup.php(252): ExtensionRegistry->loadFromQueue()

#5 /home/public_html/wiki/maintenance/doMaintenance.php(96): require_once('/home/...')

#6 /home/public_html/wiki/maintenance/update.php(264): require_once('/home/...')

#7 {main}

  thrown in /home/public_html/wiki/extensions/PageProperties/includes/PageProperties.php on line 715

Thomas-topway-it (talkcontribs)

@Brunodapei we are reviewing this extension right now, it could take a few days more ...

Thomas-topway-it (talkcontribs)

@Brunodapei Can you check the latest version ? (1.02) the error should have been fixed

Brunodapei (talkcontribs)

I tried. but the error now is:

[YuhTRtLN0XNfzjNi9D_4-AAAmg8] /wiki/Dapei EasyRdf\Http\Exception: HTTP request for https://www.wikimilano.it/wiki/Speciale:ExportRDF/Bruno_Dapei?recursive=1&backlinks=0 failed: Not Found

Backtrace:

from /home/public_html/wiki/extensions/PageProperties/vendor/easyrdf/easyrdf/lib/Graph.php(354)

#0 /home/public_html/wiki/extensions/PageProperties/includes/PageProperties.php(249): EasyRdf\Graph->load()

#1 /home/public_html/wiki/includes/HookContainer/HookContainer.php(338): PageProperties::BeforePageDisplay(OutputPage, Vector\SkinVector)

#2 /home/public_html/wiki/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)

#3 /home/public_html/wiki/includes/HookContainer/HookRunner.php(939): MediaWiki\HookContainer\HookContainer->run(string, array, array)

#4 /home/public_html/wiki/includes/OutputPage.php(2802): MediaWiki\HookContainer\HookRunner->onBeforePageDisplay(OutputPage, Vector\SkinVector)

#5 /home/public_html/wiki/includes/MediaWiki.php(926): OutputPage->output(boolean)

#6 /home/public_html/wiki/includes/MediaWiki.php(939): MediaWiki::{closure}()

#7 /home/public_html/wiki/includes/MediaWiki.php(563): MediaWiki->main()

#8 /home/public_html/wiki/index.php(53): MediaWiki->run()

#9 /home/public_html/wiki/index.php(46): wfIndexMain()

#10 {main}

Thomas-topway-it (talkcontribs)

@Brunodapei I saw it just now, this is because you haven't Semantic Mediawiki installed, in this case just remove easyrdf and ml/json-ld using composer

Reply to "Error when installing on 1.38"