• Now, how come that suddenly pages don’t load – like All Pages and All Posts – and the cause turns out to be a plugin that had been activated for months already, during which everything worked fine?
    The log file giving the following totally unclear error message:
    Call to undefined function wp_get_current_user() in /home/public/sites/www.******.com/wp-includes/capabilities.php on line 522

    This has less to do with a plugin than with WordPress.
    What is happening??
    I had to deactivate a plugin that had been running for months just to get things working again. And I suspect it was this plugin because it was first in the list (404page; so now I am without custom 404 page, thankyouverymuch).

    This stuff with plugins happens more often.
    Why doesn’t WordPress this more robust?

    grt

    Arjen

Viewing 5 replies - 1 through 5 (of 5 total)
  • Which plugin?

    Thread Starter Nejra

    (@nejra)

    All Pages and All Posts (and some other admin pages) worked again after deactivating 404Page plugin.

    But note: this plugin ran without problems for months!

    What has changed, was installing the Elegant Themes admin plugin (for support).
    But deactivating this one, and uninstalling, did not do a thing. But somehow I think it affected everything.
    So it is not about the 404Page plugin.
    It is more about a seemingly not very robust plugin system, together with absolutely uninformative logging.

    The plugin shows go for version 7.4.2 so should be good.

    If you use a commercial theme or plugin and need support, please go to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations.

    https://www.elegantthemes.com/forum/

    Forum volunteers are also not given access to commercial products, so they would not know why your commercial theme or plugin is not working properly. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product.

    Thread Starter Nejra

    (@nejra)

    Ha, but this has nothing to do with either the plugin nor the theme.
    Encountered it before with other themes, and other plugins, that all worked fine, until something went wrong. Out of the blue.

    Again, without any helpful logmessages from WordPress.
    This is a deep rooted problem in WordPress’ plugin system.
    The plugin is okay, WordPress should make its plugin system more robust, and also provide better log messages

    Having the same problem I was able to get around it by going to “Appearance->404 Error Page” and deselecting the “Hide the selected page from the Pages list” option.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Errors due to plugins…’ is closed to new replies.