Home Page › Forums › WP Related Items › Undefined index in wri-pro.php › Reply To: Undefined index in wri-pro.php
Ok, errors have changed now that I did a few things…. so here is what I did:
– Disabled the PlugIn
– Uploaded all the plugin files overwriting any existing one
– Activated the plugin.
– Went to WRI Pro settings
– Unchecked the Enable WRI plugin
– Saved settings
– Checked the Enable WRI plugin
– Saved settings
then I had a few PHP notice, one of them was about cross_taxonomy.php so I went to the “Related Types” tab to do:
– I checked the ‘Product label’ in the Show selected cross taxonomy metaboxes on Posts admin page (pro)
– I checked the ‘Labels’ in the Show selected cross taxonomy metaboxes on Products admin page (pro)
– Saved the settings
Now the cross_taxonomy.php notice were gone and now I’m only left with these errors:
When loading a post, I get:
[21-Sep-2016 13:17:18 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:18 UTC] PHP Notice: Array to string conversion in /var/www/vhosts/website_url/wp-content/plugins/wp-related-items-pro/wri-pro.php on line 426
[21-Sep-2016 13:17:18 UTC] PHP Notice: Array to string conversion in /var/www/vhosts/website_url/wp-content/plugins/wp-related-items-pro/wri-pro.php on line 426
[21-Sep-2016 13:17:18 UTC] PHP Notice: Array to string conversion in /var/www/vhosts/website_url/wp-content/plugins/wp-related-items-pro/wri-pro.php on line 426
[21-Sep-2016 13:17:18 UTC] PHP Notice: Array to string conversion in /var/www/vhosts/website_url/wp-content/plugins/wp-related-items-pro/wri-pro.php on line 426
[21-Sep-2016 13:17:18 UTC] PHP Notice: Array to string conversion in /var/www/vhosts/website_url/wp-content/plugins/wp-related-items-pro/wri-pro.php on line 426
[21-Sep-2016 13:17:18 UTC] PHP Notice: get_currentuserinfo is <strong>deprecated</strong> since version 4.5.0! Use wp_get_current_user() instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3707
[21-Sep-2016 13:17:19 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
After loading a post in admin and trying to add a manual relationship to a product, I get:
[21-Sep-2016 13:17:44 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:45 UTC] PHP Notice: Undefined index: id_number in /var/www/vhosts/website_url/wp-content/plugins/wp-related-items-pro/wri-admin-page.php on line 1251
[21-Sep-2016 13:17:45 UTC] PHP Notice: Undefined index: id_number in /var/www/vhosts/website_url/wp-content/plugins/wp-related-items-pro/wri-admin-page.php on line 1251
[21-Sep-2016 13:17:46 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:48 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:50 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:51 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:52 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:53 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:54 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:55 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:56 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:57 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:58 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:17:59 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
[21-Sep-2016 13:18:11 UTC] PHP Notice: The called constructor method for WP_Widget in WRI_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/www/vhosts/website_url/wp-includes/functions.php on line 3767
Some parts in the screenshots are French:
‘Articles’ is Posts
‘Produits’ is Products
Attachments:
You must be logged in to view attached files.