• Resolved brianlocke

    (@brianlocke)


    Starting about a month ago the settings page has been completely illegible. The tabs have no text on them and the text is very partial.

    screenshot

    I’ve updated the plugin and had no change in the way it displays. It also no longer works.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Criss Swaim

    (@cswaim)

    From the screen shot, it looks like there is a javascript conflict. This is probably caused by another plugin or the theme. But this is a guess.

    If you can determine what changes were made when the formatting broke and reverse those changes that will help identify the problem.

    Try turning off some of the more recently added plugins to see if the problem is corrected, then update the plugin and extension. The other thing to try is to turn on debugging, that might show what is causing the problem.

    Thread Starter brianlocke

    (@brianlocke)

    The only updates were to Jetpack. I’ve disabled jetpack and there was no change in behaviour on the settings page or the plugin’s inability to convert tagged posts.
    I’ve turned on debug in the wp-config.php file and enabled logging. There are no errors logged.

    I did notice when looking a the page source that all of the html elements have the text commented out.
    i.e. Here’s the anchor tag for the first tab.
    <a href="#gp-overview" class="ui-tabs-anchor" role="presentation" tabindex="-1" id="ui-id-1"><!--? _e('Overview','tpg-get-posts')?--></a>

    Is that normal?

    Thanks for your help!

    Plugin Author Criss Swaim

    (@cswaim)

    You have identified the problem, but why is that happening? Here is the tab code from my system.

    <a href="#gp-overview" class="ui-tabs-anchor" role="presentation" tabindex="-1" id="ui-id-1">Overview</a>

    the code <!--?_e('Overview','tpg-get-posts')?--> is the php which outputs the text with a translation template. It appears to have been commented out with html comments <!--xxxx--> or it is possible that a translation file has been created but not correctly.

    In the plugin language directory, there is a language file tpg-get-posts.pot. That is all that is in the folder. Try renaming it or make a copy of it and delete it to see if that clears up the problem.

    If that fails, the brute force approach of deleting the plugin and reinstalling might clear it up. But if you just updated, then that has been done, so I am not hopeful it will clear the problem.

    Have you done anything with translations?

    • This reply was modified 8 years, 1 month ago by Criss Swaim.
    Thread Starter brianlocke

    (@brianlocke)

    Howdy..
    I’ve deleted and reinstalled with no different results.

    I have not done anything w/translations at all. It’s an ‘English USA’ website.

    Any thoughts on how to determine what is adding the comments? I’m not familiar with the inner workings of WordPress.

    Thread Starter brianlocke

    (@brianlocke)

    Update on this… finally after reading up on WordPress and how plugins work I understood what the _e() was used for. Dug deeper and then found that our hosting provider had turned off PHP!! The website looked normal and even the control panel looked normal (except for this plugin) so I had no indication that PHP had been disabled.

    Thanks for your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Settings tab display is broken’ is closed to new replies.