• Resolved rodneylives

    (@rodneylives)


    Anthologize is still broken. It’s a huge shame, it used to be a great tool but it has succumbed to bitrot. Even its website is dead. If anyone has advice on getting it working with current WordPress/PHP installs it’d be appreciated.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Boone Gorges

    (@boonebgorges)

    Could you please give details on how the plugin is broken with current PHP? What version of PHP are you testing with, and what are the specific errors you’re seeing?

    Thread Starter rodneylives

    (@rodneylives)

    I’m not the one who saw the error, but I was told: “From the interweb and error log file it seems may be a backward incompatibility with PHP 7.3+ for the continue keyword in Switch statements.” We’re on PHP 8.

    Plugin Author Boone Gorges

    (@boonebgorges)

    Thanks for the details. I see that there were some PHP 8-related fixes in the GitHub version of the plugin, but it’s possible that they hadn’t yet been put into a www.ads-software.com release. I’ve just released version 0.8.1 of the plugin, which should contain the necessary fix. Please let me know if this doesn’t resolve the problem for you.

    Thread Starter rodneylives

    (@rodneylives)

    Ah! I will give it a try, thanks!

    Thread Starter rodneylives

    (@rodneylives)

    I’m still getting the “critical error” message, I don’t know if it’s still from PHP or something else.

    Thread Starter rodneylives

    (@rodneylives)

    (I did make sure it was updated before trying to export.)

    Plugin Author Boone Gorges

    (@boonebgorges)

    Thanks for reporting back. If you’re able to provide any error messages, it would be helpful. See https://www.ads-software.com/support/article/debugging-in-wordpress/

    Thread Starter rodneylives

    (@rodneylives)

    I can try, but am hindered by the fact that I don’t have file-level access to the contents of the WordPress install. I’m the editor but not the site maintainer. I’ll get back if I can get the error log.

    Thread Starter rodneylives

    (@rodneylives)

    I am told by the site maintainer that upgrading PHP and installing the multibyte string extension fixed it! I just tested it out and can confirm that it worked for me. Here was the error (which is no longer happening):

    PHP Fatal error: Uncaught Error: Call to undefined function mb_ereg_replace() in /var/www/setsideb.com/public_html/wp-content/plugins/anthologize/includes/class-tei-dom.php:1047\nStack trace:\n#0 /var/www/setsideb.com/public_html/wp-content/plugins/anthologize/templates/epub/includes/class-epub-builder.php(22): TeiDom->getFileName()\n#1 /var/www/setsideb.com/public_html/wp-content/plugins/anthologize/templates/epub/index.php(29): EpubBuilder->__construct()\n#2 /var/www/setsideb.com/public_html/wp-includes/template.php(783): require_once('...')\n#3 /var/www/setsideb.com/public_html/wp-content/plugins/anthologize/includes/class-admin-main.php(373): load_template()\n#4 /var/www/setsideb.com/public_html/wp-includes/class-wp-hook.php(308): Anthologize_Admin_Main->load_template()\n#5 /var/www/setsideb.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#6 /var/www/setsideb.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#7 /var/www/setsideb.com/public_html/wp-admin/includes/menu.php(155): do_action()\n#8 /var/www/setsideb.com/public_html/wp-admin/menu.php(428): require_once('...')\n#9 /var/www/setsideb.com/public_html/wp-admin/admin.php(158): require('...')\n#10 {main}\n thrown in /var/www/setsideb.com/public_html/wp-content/plugins/anthologize/includes/class-tei-dom.php on line 1047, referer: https://setsideb.com/wp-admin/admin.php?page=anthologize_export_project&project_id=2734

    Thread Starter rodneylives

    (@rodneylives)

    Since we have it working now, I am going to mark this resolved. Thanks very much!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Anthologize still broken with current PHP’ is closed to new replies.