• Resolved penhtech

    (@penhtech)


    I have installed the Connections plugin on the multisite network running on my local computer (for development purposes). At the current time, there is only one site. I installed the plugin from the Network admin dashboard, and then activated it only on the site, as the instructions specify. However, the network admin dashboard is showing the following errors:

    Notice: Undefined property: stdClass::$manage in /home/walter/Projects/cambodiabusinessguide/site/wp-content/plugins/connections/includes/class.scripts.php on line 321

    Notice: Undefined property: stdClass::$add in /home/walter/Projects/cambodiabusinessguide/site/wp-content/plugins/connections/includes/class.scripts.php on line 321

    Notice: Undefined property: stdClass::$dashboard in /home/walter/Projects/cambodiabusinessguide/site/wp-content/plugins/connections/includes/class.scripts.php on line 335

    Notice: Undefined property: stdClass::$manage in /home/walter/Projects/cambodiabusinessguide/site/wp-content/plugins/connections/includes/class.scripts.php on line 335

    Notice: Undefined property: stdClass::$add in /home/walter/Projects/cambodiabusinessguide/site/wp-content/plugins/connections/includes/class.scripts.php on line 335

    Notice: Undefined property: stdClass::$manage in /home/walter/Projects/cambodiabusinessguide/site/wp-content/plugins/connections/includes/class.scripts.php on line 500

    Notice: Undefined property: stdClass::$add in /home/walter/Projects/cambodiabusinessguide/site/wp-content/plugins/connections/includes/class.scripts.php on line 500

    It would appear that either $instance->pageHook does not exist, or that it does not contain the requested fields.

    I have tried deactivating all other plugins, both at the network and site level, but the errors do not go away, so it does not appear to be a plugin conflict..

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    @penhtech

    Hmmm… can you confirm that Connections is not network activated?

    Thread Starter penhtech

    (@penhtech)

    Confirmed. I did originally network activate it, but then saw the instructions and network deactivated it and activated it only on the one site. When I still got the error message, I deleted it and then reinstalled it without ever network activating it, and activated it on the site. The error on the Network Admin console appears immediately after a refresh, whenever the plugin is activated on the site. Is it possible the original network activation left something hanging around that was not cleaned up by the uninstallation?

    FYI, I can’t imagine why this would be an issue, but the theme is using the current stable beta version of Bootstrap 4.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    @penhtech

    There nothing that would be persistent to generate those errors. The pageHook values are set on the admin_menu action. Which would be run on the site’s super admin pages. It is read on admin_enqueue_scripts action to conditionally load scripts only on specific pages. The properties are checked before use in actual function, but, they are also being passed via a filter without being checked for their existence. Looks like I need to tweak those filters a bit. I’ll have this fix (I hope) in the next update. I’ll try to push it out on Friday.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    This should be resolved in version 8.7. Let me know if the issues persist.

    Thread Starter penhtech

    (@penhtech)

    I’ll mark this as resolved, although this issue caused me to have to move to a different directory plugin for my client, so I have no way to test it myself.

    Thread Starter penhtech

    (@penhtech)

    Looks like the status has to be changed BEFORE I hit Submit, so adding a comment just for that purpose.

    Thread Starter penhtech

    (@penhtech)

    Dang. Trying AGAIN!

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Sorry for taking so long in pushing the update… I was in the middle of implementing rather significant new features. Thanks for marking this resolved.

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

The topic ‘‘Undefined property’ error on multiite install’ is closed to new replies.