• Resolved newbee_sue

    (@newbee_sue)


    I get the following php error from starbox – I just added the plugin to the site and while I see it in the dashboard – I do not see it the starbox plugin in the folder indeicated where it says there is an error on line 31. Additionally it seems to be causing another error in the database. Please advise
    [22-Dec-2021 14:41:31 UTC] PHP Warning: Use of undefined constant ABH_VERSION – assumed ‘ABH_VERSION’ (this will throw an Error in a future version of PHP) in /home/mysite/www/staging/wp-content/plugins/starbox/config/config.php on line 31
    [22-Dec-2021 14:41:54 UTC] WordPress database error Duplicate entry ‘1601-948’ for key ‘PRIMARY’ for query INSERT INTO wp_term_relationships (object_id, term_taxonomy_id) VALUES (1601, 948) made by require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, MultipleAuthors\Plugin->manage_installation, do_action(‘multiple_authors_install’), WP_Hook->do_action, WP_Hook->apply_filters, MultipleAuthors\Classes\Installer::runInstallTasks, MultipleAuthors\Classes\Installer::createAuthorTermsForPostsWithLegacyCoreAuthors, wp_add_object_terms, wp_set_object_terms

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Calin Vingan

    (@calinvingan)

    Hi,

    Seems that the plugin was not installed properly. ABH_VERSION is set in the loading file of the plugin.

    Try to reinstall the plugin.

    For the second error, it doesn’t seem to be from Starbox as the plugin has nothing to do with the wp_term_relationships table.

    Thread Starter newbee_sue

    (@newbee_sue)

    thank you. Your reply was very helpful

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php error from starbox’ is closed to new replies.