Significant PHP error caused by affiliates plugin

I’m getting the following error(s):

#1

[client IP] WordPress database error Table ‘wp_installname.wp_affiliatereferrers’ doesn’t exist for query SELECT ar.* FROM wp_affiliatereferrers as ar INNER JOIN ( SELECT url FROM wp_affiliatereferrers WHERE user_id = 13 AND period in (‘201604′,’201603′,’201602′,’201601′,’201512′,’201511′,’201510′,’201509′,’201508′,’201507′,’201506′,’201505′,’201504′,’201503′,’201502′,’201501′,’201412′,’201411’:wink: GROUP BY url ORDER BY sum(referred) DESC LIMIT 0, 10 ) as arr ON ar.url = arr.url WHERE ar.user_id = 13 ORDER BY ar.url, ar.period DESC /* From [subsite.sitename.com/wp-admin/admin-ajax.php?action=_aff_getvisits] in [/nas/content/live/installname/wp-content/plugins/affiliate/affiliateincludes/classes/affiliateadmin.php:346] */ made by do_action(‘wp_ajax__aff_getvisits’:wink:, call_user_func_array, affiliateadmin->ajax__aff_getvisits, referer: http://subsite.sitename.com/affiliates-front-page/

#2

[client IP] WordPress database error Table ‘wp_installname.wp_affiliatereferrers’ doesn’t exist for query SELECT url, SUM(referred) as totalreferred FROM wp_affiliatereferrers WHERE user_id = 13 AND period in (‘201604′,’201603′,’201602′,’201601′,’201512′,’201511′,’201510′,’201509′,’201508′,’201507′,’201506′,’201505′,’201504′,’201503′,’201502′,’201501′,’201412′,’201411’:wink: GROUP BY url ORDER BY totalreferred DESC LIMIT 0, 15 /* From [subsite.sitename.com/affiliates-front-page/] in [/nas/content/live/installname/wp-content/plugins/affiliate/affiliateincludes/classes/affiliateshortcodes.php:1088] */ made by require(‘wp-blog-header.php’:wink:, require_once(‘wp-includes/template-loader.php’:wink:, include(‘/themes/custom/page.php’:wink:, get_template_part, locate_template, load_template, require(‘/themes/custom/single/content-page.php’:wink:, gdlr_content_filter, apply_filters(‘the_content’:wink:, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, gdlr_tabs_shortcode, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, gdlr_tab_shortcode, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, affiliateshortcodes->do_affiliatetopvisitstable_shortcode, affiliateshortcodes->show_top_visits_table

### Begin System Info ###

Site_Host wpengine.com

SITE_URL http://sitename.com

HOME_URL http://sitename.com

Site_Login http://sitename.com/secure-access

WordPress Version 4.4.2

PHPMailer Version 5.2.14

Permalink Structure /%postname%/

PHP Version 5.5.9-1ubuntu4.14

MySQL Version 5.6.28

Web Server Info Apache

Multi-site Yes

PHP Safe Mode No

PHP Memory Limit 512M

PHP Post Max Size 100M

PHP Time Limit 360 sec

PHP Max Input Vars 1000

WP_DEBUG Disabled

DISPLAY ERRORS N/A

WP Table Prefix Length: 3 Status: Acceptable

Session Enabled

Session Name PHPSESSID

Cookie Path /

Save Path /var/lib/php5

Use Cookies On

Use Only Cookies On

UPLOAD_MAX_FILESIZE 50 MB

POST_MAX_SIZE 100 MB

WordPress Memory Limit 512 MB

FSOCKOPEN Your server supports fsockopen.

DOMDocument DOMDocument extension installed

SUHOSIN Installed No

wp_remote_post works

External HTTP Requests not blocked

Update Server Access

ACTIVE PLUGINS

Admin Menu Editor Pro: 2.1 (Network Activated)

Affiliate: 3.1.6.6 (Network Activated)

Allow Capital Letters In Username: 0.3 (Network Activated)

Cloner: 1.7.2 (Network Activated)

Contact Form 7: 4.4.1

Contact Form 7 for MyMail: 0.1.2

Contact Form 7 Honeypot: 1.8

Contact Form DB: 2.10.8

Domain Mapping: 4.4.2.1 (Network Activated)

Duplicate Post: 2.6

Goodlayers Conference: 1.0.0

Goodlayers Shortcode: 1.0

Google Analytics +: 3.1.5.1 (Network Activated)

Hide My WP: 5.01 (Network Activated)

Hide WPE Widget: 1.0 (Network Activated) Custom

Indeed Share Mega Theme Pack (Social Share&Locker Pro Add-On): 1.0

Indeed Share Page Views ( Social Share&Locker AddOn ): 1.0

Indeed Social Share & Locker Pro: 6.2

Layered Popups: 5.30

Lockdown WP Admin: 2.3.2

Login With Ajax: 3.1.5

Master Admin Pro: 3.0 (Network Activated) Custom

Master Slider Pro: 2.25.4

Media Library Plus: 2.35 (Network Activated)

Membership 2 Pro: 1.0.2.9 | define( “MS_PROTECT_NETWORK”, true );

Multisite Content Copier: 1.5.2 (Network Activated)

Multisite Enhancements: 1.3.3 (Network Activated)

Multisite Toolbar Additions: 1.7.0 (Network Activated)

MyMail – Email Newsletter Plugin for WordPress: 2.1.10

MyMail Live!: 2.0.2

Network Shared Media: 0.11 (Network Activated)

Network Username Restrictions Override: 1.2 (Network Activated)

OH Add Script Header Footer: 1.6

PDF viewer for WordPress: 4.5

Plugin Organizer: 6.0.4

Remember Me Checked: 1.0.1 (Network Activated)

Shortcodes in Menus: 3.1

SmartCrawl: 1.7.7 (Network Activated)

Theia Sticky Sidebar: 1.3.1

ThreeWP Broadcast: 29 (Network Activated)

Ultimate Branding: 1.8.2 (Network Activated)

User Role Editor Pro: 4.24.6 (Network Activated)

WordPress Importer: 0.6.1 (Network Activated)

WordPress Social Login: 2.3.0

WP Master Admin: 2.3.9

WPMU DEV Dashboard: 4.0.9 (Network Activated)

WP Multi-Network: 1.7.0 (Network Activated)

WP Smush Pro: 2.2.2 (Network Activated)

CURRENT THEME Custom

### End System Info ###

I have activated “Grant Support Access”