Forum Replies Created

Viewing 15 replies - 16 through 30 (of 127 total)
  • Plugin Author cmeeren

    (@cmeeren)

    I don’t really understand what you’re attempting, but it seems you have found the solution you’re looking for? Let me know if not.

    Plugin Author cmeeren

    (@cmeeren)

    Works fine when I test it. I’m using the user ID 49385119 and an API key I know works.

    Could you try again? It might have been a temporary problem. If it still doesn’t work, it might have something to do with your web host, perhaps they are blocking outgoing HTTP/HTTPS requests. I’m afraid I can’t help you if that’s the case.

    • This reply was modified 6 years, 5 months ago by cmeeren.
    Plugin Author cmeeren

    (@cmeeren)

    Thanks for your kind words! ??

    Plugin Author cmeeren

    (@cmeeren)

    Good to hear it sorted itself out! ??

    Plugin Author cmeeren

    (@cmeeren)

    Could be a conflict with another plugin. Just for quickly testing if this is the case, could you disable all other plugins and see if you still get the problem?

    Plugin Author cmeeren

    (@cmeeren)

    Great, happy to have helped. ??

    Plugin Author cmeeren

    (@cmeeren)

    Unfortunately, the final rendered sizes for the “Large” and “Small” options in the widget settings are dependent on the WordPress theme. I’ve seen several sites using this plugin that has much larger covers than yours, where even for the “Small” setting you would need the large cover image to make it look good. So I can’t base the cover size to fetch on the widget’s size setting.

    One simple fix that you can do yourself, though, is to go to where the plugin is installed (IIRC it’s something like your WordPress directory/wp-content/plugins/gr-progress), then find the file Shelf.php, search for “book_large_image_url” and replace it by either “book_medium_image_url” or “book_small_image_url”.

    Afterward you’ll need to go to the widget settings and clear the cover image cache (check the relevant checkbox toward the bottom of the settings and save).

    Plugin Author cmeeren

    (@cmeeren)

    Thanks for the feedback! Goodreads provides several different cover sizes through their API, so it is possible for me to add an option in the GR Progress Widget settings where one can specify which size to use. Unfortunately my time and energy to maintain this (free) plugin is very limited, so I can’t promise if or when it will be done. I’ll keep it in mind, though.

    Plugin Author cmeeren

    (@cmeeren)

    Thanks for the interest! Unfortunately, I am currently unable to prioritize converting the plugin to make it localization friendly. I’ll happily take a PR (GitHub repo).

    In any case, the output of the plugin (e.g. widget title, Goodreads attribution message, and last updated message) is fully specifiable through the admin panel, so as long as users can survive English in the admin UI, they can translate the widget output if they want.

    Thread Starter cmeeren

    (@cmeeren)

    Thank you for taking time to help me investigate this. It seems it’s something on my end, then. If/when I solve it, I’ll get back here and post what I found out.

    Thread Starter cmeeren

    (@cmeeren)

    Sorry, I have no idea. A quick grep -rnw '/path/to/relativisticramblings.com/' -e 'Body' did not turn up anything that I’d consider relevant. Perhaps it’s a string in the DB.

    • This reply was modified 6 years, 8 months ago by cmeeren.
    Thread Starter cmeeren

    (@cmeeren)

    No, wp-typography never worked after the OS upgrade. Body is not the title of the page. Here’s the page (though all subpages also stop working if I enable wp-typography).

    Thread Starter cmeeren

    (@cmeeren)

    I have now verified that extension=dom.so only appears once, and I have also added extension=libxml.so (which was not there before). I still get the same exception.

    Also, the exception does not occur if the plugin is disabled. That simply seemed to be caused by caching; a few minutes after disabling the plugin, the site works.

    Thread Starter cmeeren

    (@cmeeren)

    [03-Jul-2018 20:32:14 UTC] PHP Notice:  Undefined property: DOMDocument::$documentElement in /var/www/relativisticramblings.com/wp-content/plugins/wp-typography/vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php on line 265
    [03-Jul-2018 20:32:14 UTC] PHP Notice:  Undefined property: DOMDocument::$documentElement in /var/www/relativisticramblings.com/wp-content/plugins/wp-typography/vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php on line 265
    [03-Jul-2018 20:32:14 UTC] PHP Notice:  Undefined property: DOMDocument::$documentElement in /var/www/relativisticramblings.com/wp-content/plugins/wp-typography/vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php on line 265
    [03-Jul-2018 20:32:14 UTC] PHP Notice:  Undefined property: DOMElement::$tagName in /var/www/relativisticramblings.com/wp-content/plugins/wp-typography/vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php on line 650
    [03-Jul-2018 20:32:14 UTC] PHP Notice:  Undefined property: DOMElement::$tagName in /var/www/relativisticramblings.com/wp-content/plugins/wp-typography/vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php on line 650
    [03-Jul-2018 20:32:14 UTC] PHP Notice:  Undefined property: DOMElement::$tagName in /var/www/relativisticramblings.com/wp-content/plugins/wp-typography/vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php on line 650
    [03-Jul-2018 20:32:14 UTC] PHP Fatal error:  Uncaught TypeError: Argument 2 passed to PHP_Typography\PHP_Typography::query_tags_to_ignore() must be an instance of DOMNode, null given, called in /var/www/relativisticramblings.com/wp-content/plugins/wp-typography/$Stack trace:
    #0 /var/www/relativisticramblings.com/wp-content/plugins/wp-typography/vendor/mundschenk-at/php-typography/src/class-php-typography.php(159): PHP_Typography\PHP_Typography->query_tags_to_ignore(Object(DOMXPath), NULL, Object(PHP_Typography\Settings))
    #1 /var/www/relativisticramblings.com/wp-content/plugins/wp-typography/vendor/mundschenk-at/php-typography/src/class-php-typography.php(103): PHP_Typography\PHP_Typography->process_textnodes('Body', Object(Closure), Object(PHP_Typography\Settings), true, Array)
    #2 /var/www/relativisticramblings.com/wp-content/plugins/wp-typography/includes/wp-typography/class-implementation.php(406): PHP_Typography\PHP_Typography->process('Body', Object(PHP_Typography\Settings), true, Array)
    #3 /var/www/relativisticramblings.com/wp-content/plugins/wp-typography/includes/wp-typography/class-implementation.php(300): WP_Typography\Implementation->process('Body', true, false, Object(PHP_Typography\Settings))
    #4 /var/www/relativisticramblings.com/wp-includes/class-wp-hook.php(288): WP_Typography\Implementation->process_title('Body')
    #5 /var/www/relativisticramblings.com/wp-includes/plugin.php(203): WP_Hook->apply_filters('Body', Array)
    #6 /var/www/relativisticramblings.com/wp-includes/post-template.php(158): apply_filters('the_title', 'Body', 138)
    #7 /var/www/relativisticramblings.com/wp-content/plugins/easy-google-fonts/includes/class-egf-register-options.php(815): get_the_title()
    #8 /var/www/relativisticramblings.com/wp-includes/class-wp-hook.php(286): EGF_Register_Options->get_custom_option_parameters(Array)
    #9 /var/www/relativisticramblings.com/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #10 /var/www/relativisticramblings.com/wp-content/plugins/easy-google-fonts/includes/class-egf-register-options.php(746): apply_filters('tt_font_get_opt...', Array)
    #11 /var/www/relativisticramblings.com/wp-content/plugins/easy-google-fonts/includes/class-egf-register-options.php(859): EGF_Register_Options::get_option_parameters()
    #12 /var/www/relativisticramblings.com/wp-content/plugins/easy-google-fonts/includes/class-egf-register-options.php(907): EGF_Register_Options::get_option_defaults()
    #13 /var/www/relativisticramblings.com/wp-content/plugins/easy-google-fonts/includes/class-egf-frontend.php(131): EGF_Register_Options::get_options(true)
    #14 /var/www/relativisticramblings.com/wp-includes/class-wp-hook.php(286): EGF_Frontend->enqueue_stylesheets('')
    #15 /var/www/relativisticramblings.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #16 /var/www/relativisticramblings.com/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #17 /var/www/relativisticramblings.com/wp-includes/script-loader.php(1447): do_action('wp_enqueue_scri...')
    #18 /var/www/relativisticramblings.com/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts('')
    #19 /var/www/relativisticramblings.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #20 /var/www/relativisticramblings.com/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #21 /var/www/relativisticramblings.com/wp-includes/general-template.php(2614): do_action('wp_head')
    #22 /var/www/relativisticramblings.com/wp-content/themes/twentysixteen/header.php(21): wp_head()
    #23 /var/www/relativisticramblings.com/wp-includes/template.php(688): require_once('/var/www/relati...')
    #24 /var/www/relativisticramblings.com/wp-includes/template.php(647): load_template('/var/www/relati...', true)
    #25 /var/www/relativisticramblings.com/wp-includes/general-template.php(41): locate_template(Array, true)
    #26 /var/www/relativisticramblings.com/wp-content/themes/twentysixteen/index.php(17): get_header()
    #27 /var/www/relativisticramblings.com/wp-includes/template-loader.php(74): include('/var/www/relati...')
    #28 /var/www/relativisticramblings.com/wp-blog-header.php(19): require_once('/var/www/relati...')
    #29 /var/www/relativisticramblings.com/index.php(21): require('/var/www/relati...')
    #30 {main}
      thrown in /var/www/relativisticramblings.com/wp-content/plugins/wp-typography/vendor/mundschenk-at/php-typography/src/class-php-typography.php on line 282
    Thread Starter cmeeren

    (@cmeeren)

    That can’t be quite right. If wp-Typography were disabled, that code would not be executed.

    I’d think so too, but that’s not what I’m observing.

    I’m using Ubuntu 18.04 LTS, PHP 7.2, Apache 2.4.29, single-site.

    How can I expand the stack trace? To get the trace I posted, I just added the following to to index.php:

    ini_set('display_errors', 1);
    ini_set('display_startup_errors', 1);
    error_reporting(E_ALL);
Viewing 15 replies - 16 through 30 (of 127 total)