• Resolved drokkon

    (@drokkon)


    I’m consistently receiving fatal errors on all sites in my multisite installation. They occur as a “Call to undefined function” to is_plugin_active_for_network(), add_menu_page(), and set_screen_options().

    The first two exist (and they do) in wp-admin/includes/plugin.php. The third exists in wp-admin/includes/misc.php.

    What causes this?

Viewing 15 replies - 1 through 15 (of 22 total)
  • What causes this?

    Please provide exact error messages(per site) please.

    Thread Starter drokkon

    (@drokkon)

    Fatal error: Call to undefined function postbox_classes() in /home/admin/public_html/wp-admin/includes/template.php on line 922

    Fatal error: Call to undefined function is_plugin_active_for_network() in /home/admin/public_html/wp-content/themes/rt_omnicron_wp/functions.php on line 23

    Fatal error: Call to undefined function add_menu_page() in /home/admin/public_html/wp-content/plugins/bwp-google-xml-sitemaps/includes/class-bwp-simple-gxs.php on line 353

    Fatal error: Call to undefined function set_screen_options() in /home/admin/public_html/wp-admin/admin.php on line 75

    These show up at different times on different sites and are not consistent. Usually simply refreshing the page resolves the error. The one that shows up in the themes function file shows up on the same line of the same file on multiple themes by that designer (RocketTheme).
    `

    Please scan your site(s) at Sucuri. To continue, provide scan result link(s) or site link(s)

    Thread Starter drokkon

    (@drokkon)

    Thanks for the reply!

    The reason I haven’t posted links is because these errors have only ever appeared in the admin area. I ran a few through Sucuri, and they came back clean.

    I should probably note that something started this: I attempted to install W3 Total Cache last week, and I had the host of my VPS change my PHP handler to something faster and more friendly with W3TC. The combination of these two things seriously jacked up the site, making the admin areas virtually useless and the frontends largely unresponsive. I’ve been trying to fix things through the host and through deleting the W3TC plugin, optimizing the database, etc. Things are almost back to normal except for these fatal errors.

    Sounds like a host that is not capable of hosting a basic WordPress site to me…

    Thread Starter drokkon

    (@drokkon)

    These sites are hosted all over the place….

    Thread Starter drokkon

    (@drokkon)

    Nope – they’re all running off the same WordPress multisite install. Same registrar, all routed through Cloudflare to the same IP address.

    Thread Starter drokkon

    (@drokkon)

    …and all working perfectly for two years now until whatever I did with W3TC and the PHP handler.

    I know that not all of them have any content on them. Typically I have them behind an under construction page.

    My comment stands.

    Thread Starter drokkon

    (@drokkon)

    So you’re saying that all those sites, in one WordPress multisite install on one VPS are hosted “all over the place?”

    Must be the work of Cloudflare CDN, then. I can assure you that they reside in one location.

    So Cloudflare works well on a multisite install?

    Thread Starter drokkon

    (@drokkon)

    It has up until now. I simply point my domain nameservers to Cloudflare, and then I point them to my IP address. From there the multisite domain mapping plugin points requests to the proper blog.

    That said, it may FUNCTION correctly, but my sites have been so slow for so long that I don’t think they’re accomplishing near what a true CDN would accomplish. Hence the attempt to install W3TC.

    Just found some leftover W3TC code in my .htaccess file that I removed. Maybe that will fix these errors…

    Do each of your sites share an actual real ip address? Also – if u use a cdn why do you need W3?

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘What can cause an undefined function error?’ is closed to new replies.