Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import utility produces warnings #21

Open
ggieling opened this issue Jan 29, 2023 · 1 comment
Open

import utility produces warnings #21

ggieling opened this issue Jan 29, 2023 · 1 comment

Comments

@ggieling
Copy link

Description

When uploading pages from another wiki using the import utility, the site produces warnings.
End result is that the pages are uploaded, it is therefore not a big issue, but might require attention

The messages are:
Warning: Undefined variable $lang in /srv/http/won1/content/lib/plugins/advanced/admin/import.php on line 133

Warning: Trying to access array offset on value of type null in /srv/http/won1/content/lib/plugins/advanced/admin/import.php on line 133

Steps to reproduce

  1. export pages from another wiki
  2. upload in new wiki

Steps to solve

???

Versions

  • [Bootstrap3 Template] v2022-07-27 (stable/20220727)
  • [DokuWiki] 2022-07-31a "Igor"
  • [Plugins]
    ACL manager
    advanced plugin (2022-12-10)
    authpdo
    plain auth
    configuration manager
    extension manager
    info
    logviewer
    popularity feedback
    revert
    safefnrecode
    styling
    translation
    dokuwiki upgrade
    user manager
    video sharing site
    wrap
  • [PHP] 8.1.13
  • [Browser] firefox 109.0; chromium 109.0.5414.74

Screenshots or Logs

[Paste your logs or attach the screenshot]

Sample page or snippet

[Paste your sample DokuWiki page or snippet using MarkDown code syntax]

@fiwswe
Copy link
Contributor

fiwswe commented Jan 29, 2023

Seems to be missing a global $lang; declaration in the cmd_import() method?

fiwswe added a commit to fiwswe/dokuwiki-plugin-advanced that referenced this issue Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants