Comments (8)
functionality broken, when I tried to move a page I got, page not moved
Fatal error: Call to undefined function getRevisions() in lib/plugins/move/helper.php on line 402
from dokuwiki-plugin-move.
This bug seems to be caused by the removal of deprecated code from the dokuwiki codebase.
(reference to the commit dokuwiki/dokuwiki@aa13c9a)
As a quick & dirty fix I added the code for getRevisions() to the file lib/plugins/move/helper.php (at the end of the file, outside the class declaration).
Adding the deprecated code to the plugin "should" protect the functionality from future dokuwiki updates.
A permanent/better solution would be to fix the 2 getRevisions() calls made in the plugin.
Code pasted at the very end of the file lib/plugins/move/helper.php
function getRevisions($id, $first, $num, $chunk_size = 8192, $media = false) { dbg_deprecated('class PageChangeLog or class MediaChangelog'); if($media) { $changelog = new MediaChangeLog($id, $chunk_size); } else { $changelog = new PageChangeLog($id, $chunk_size); } return $changelog->getRevisions($first, $num); }
from dokuwiki-plugin-move.
Your version of the plugin is outdated. Please update the move plugin to the current version.
from dokuwiki-plugin-move.
How did you determine the version I have is outdated? Did you read the comment above?
from dokuwiki-plugin-move.
lib/plugins/move/admin.php
and lib/plugins/move/helper.php
do not exist in the current version of the plugin.
from dokuwiki-plugin-move.
I am confused. These files are not in 2015-10-18 tag either. And the version from dokuwiki store has never been updated?
plugin.info.txt can probably get some update.
from dokuwiki-plugin-move.
There seems to be some issue with the dokuwiki extension manager. I reinstalled this extension but there were still files modified in 2014 (admin.php, helper.php, even .gitignore). Uninstall and install the plugin solved the problem. Sorry for the noise.
from dokuwiki-plugin-move.
It seems one must explicitly tell the extension manger to remove those old files. The linked pull request should solve this problem in the future.
from dokuwiki-plugin-move.
Related Issues (20)
- Missing $INFO['userinfo']['name'] on move handler HOT 2
- when i read dokuwiki media (*.jpg) on the smartphone, There is a log message as below. HOT 2
- Show page title in tree view (Feature Request)
- Deprecated log errors + No exit
- $mobileMenuOption.form is not a function HOT 1
- Undefined array key "move_renameokay" HOT 2
- Interaction with discordnotifier HOT 1
- Warning: Trying to access array offset on value of type null in /home/.../wiki/lib/plugins/move/action/rename.php on line 42 HOT 4
- access array offset on value of type null HOT 2
- deprecated logs HOT 1
- Failed to handle action: plugin_move HOT 2
- Replacing links in pages from the server command line
- Make fresh release after 2022-01-23 HOT 2
- "Simple Page Rename" doesn't move media files HOT 1
- pending French translations from translate.dokuwiki.org HOT 1
- Conflict between the move plugin and the wiki style template plugin (wst)
- Move single Page does not move media images.... HOT 1
- Meaning of "Set Namespace" and "Parent Namespace to export"? HOT 1
- outdated release tags HOT 2
- RFE: Pipe multiorphan plugin "Media" Orphans list | move to "opencpn:unused_media_files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokuwiki-plugin-move.