Shortcodes are missing
-
Hi! In the ‘all downloads’ page of the dashboard the ‘Shortcode’ column is blank and corrupts some of the other columns:
With ‘Shortcodes’ unticked in the Screen Options section – rendering correctly
With ‘Shortcodes’ ticked on Screen Options – shortcode column blank and date column also now blank
Do you know what might be causing this issue? Without the ability to find the shortcode for the downloads they are very difficult to add to a page!
Thanks,
Mike
Viewing 2 replies - 1 through 2 (of 2 total)
-
Hi Mike,
It’s likely an error is being triggered, which should be visible if you enable DEBUG_LOG.
Can you add the following to your wp-config.php file, reload the downloads screen and send back any errors found within
wp-content/debug.log
?define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false ); define( 'WP_DEBUG_LOG', true );
Hi,
Thanks for the reply.
Here’s what is in the debug.log:
[23-Jan-2016 15:09:08 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/sites/e/economistfoundation.org/public_html/wp-includes/functions.php on line 3624 [23-Jan-2016 15:09:08 UTC] PHP Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/sites/e/economistfoundation.org/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 154 [23-Jan-2016 15:09:10 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/sites/e/economistfoundation.org/public_html/wp-includes/functions.php on line 3624 [23-Jan-2016 15:09:10 UTC] PHP Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/sites/e/economistfoundation.org/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 154 [23-Jan-2016 15:09:19 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/sites/e/economistfoundation.org/public_html/wp-includes/functions.php on line 3624 [23-Jan-2016 15:09:19 UTC] PHP Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/sites/e/economistfoundation.org/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 154 [23-Jan-2016 15:09:24 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/sites/e/economistfoundation.org/public_html/wp-includes/functions.php on line 3624 [23-Jan-2016 15:09:24 UTC] PHP Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/sites/e/economistfoundation.org/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 154 [23-Jan-2016 15:09:39 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/sites/e/economistfoundation.org/public_html/wp-includes/functions.php on line 3624 [23-Jan-2016 15:09:40 UTC] PHP Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/sites/e/economistfoundation.org/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 154 [23-Jan-2016 15:09:41 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/sites/e/economistfoundation.org/public_html/wp-includes/functions.php on line 3624 [23-Jan-2016 15:09:41 UTC] PHP Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/sites/e/economistfoundation.org/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 154 [23-Jan-2016 15:09:44 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/sites/e/economistfoundation.org/public_html/wp-includes/functions.php on line 3624 [23-Jan-2016 15:09:45 UTC] PHP Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/sites/e/economistfoundation.org/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 154 [23-Jan-2016 15:09:51 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/sites/e/economistfoundation.org/public_html/wp-includes/functions.php on line 3624 [23-Jan-2016 15:09:51 UTC] PHP Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/sites/e/economistfoundation.org/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 154 [23-Jan-2016 15:09:53 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/sites/e/economistfoundation.org/public_html/wp-includes/functions.php on line 3624 [23-Jan-2016 15:09:54 UTC] PHP Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/sites/e/economistfoundation.org/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 154 [23-Jan-2016 15:10:10 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/sites/e/economistfoundation.org/public_html/wp-includes/functions.php on line 3624 [23-Jan-2016 15:10:10 UTC] PHP Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/sites/e/economistfoundation.org/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 154 [23-Jan-2016 15:10:24 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/sites/e/economistfoundation.org/public_html/wp-includes/functions.php on line 3624 [23-Jan-2016 15:10:24 UTC] PHP Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/sites/e/economistfoundation.org/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 154 [23-Jan-2016 15:10:40 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /var/sites/e/economistfoundation.org/public_html/wp-includes/functions.php on line 3624 [23-Jan-2016 15:10:41 UTC] PHP Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /var/sites/e/economistfoundation.org/public_html/wp-content/plugins/add-local-avatar/avatars.php on line 154
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Shortcodes are missing’ is closed to new replies.