Thanks for your help! The plugin finally works. Indeed, p was null, so I changed that and it worked
129
What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?
97530
On the  I can (probably, because I'm mod) see deleted answers. And row's highlighting is broken right now.
46175
What solutions accomplish the same auto-completion that SO uses for entering tags?  There are plugins that can handle one word but I haven't seen any that handle multiple words.
84720
Whenever I try to export a map with the Google Maps plugin in the background, it exports but just exports to a blank document. When I turn the Plugin off so it is not in the background, it prints fine. Why is this?
59310
I can't create a post with the .  There are errors for both the Japanese and Chinese characters.  Here is the post in question . It is peculiar that it supports 59 languages besides Japanese and Chinese.
52829
I visited a question  and happened to get the newsletter registration prompt, which appears to have a styling issue in the email field:    The quick fix would be for the two fields to just have the same width (149px vs 200px), but it probably also makes sense at this point to just do away with the pseudo placeholders and just use the placeholder attribute universally, with a polyfill for legacy browsers.
2823
I have a issue with my Drupal installation, for example:   when I enable or disable the modules, It redirects me to a blank page, when I create a new content type and save it, redirects me to a blank page, when I add a new view and save it, it redirects me to a blank page, when I try to clear the cache, it redirects me back to a blank page, or in similar cases.   Basically all the confirmation pages redirect me to a white screen. When I refresh it again, it shows me the page. I tried to increase the PHP memory value but it doesn't help.  Are there any other solutions for this?  The error which I'm having:      Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 8192 bytes) in sites/all/modules/views/plugins/views_plugin_localization_none.inc on line 1
30202
I have tried to install libpng12-0 but it still doesn't work.  Here:    How do I fix this?
49436
I already tried this  repository and couldn't get  it... This guy seems to have it:
97826
I'm currently writing a plugin that requires the PayPal IPN, since the IPN is not inside the main plugin file, I have no way to use $wpdb. If you know a way to do this that will work with all WordPress installations it would really help me!  Thanks in advance!
44112
As far as I can tell, whenever I try to submit an answer with CTRL + Enter, it doesn't work. As this is allowed on edits, reviews, and question asks I would be very happy to see this on answers too.
11158
I can't figure out what's wrong with this. According to , it should work. Thanks!  [Desktop Entry] Version=1.0 Name=D3GO Comment=D3GO televizija preko interneta Exec=~/D3GO/D3GO Path=~/D3GO/ Icon=~/D3GO/D3GO.png Terminal=false Type=Application Categories=Application;
109584
[ (the file model working ^^^^^)this is my model bellow (1)    (my attempt at translating your work ^^^^)I want it too spin like in this Youtube video tutorial(2)
50832
This is now out for all of the sites  We've had the new default unified theme up on  for a month and a half now and the response there has been really positive. We got a lot of great feedback from the PPCG community and worked out a lot of trouble spots.   If you've been following the progress on my , you'll know that one of the staff will usually post a discussion on each meta site as the theme rolls out. With so many sites using this theme, we decided it'd be easier to post one announcement here on MSE and feature it so that the entire network can see it and respond in one place, as a bug on one site will probably be affecting all of them.  We don't expect there to be any bugs in this theme (famous last words, apparently), since it's been used for a while on PPCG but if you do see anything amiss, please use this post to point it out so that we can dig into it. Some of your concerns may already be mentioned on the PPCG announcement post I linked at the beginning of this one, so please check there to see if they've been reported yet.  If you have general concerns about left navigation or responsive design, please use the .  Some things to be aware of:   Left Navigation is active on most pages (but can be collapsed into a menu by visiting your site preferences - ). Responsive layout is active, which lets the site adjust as browser widths change - no side scrolling (some pages haven't been updated, yet, though). For now, if you prefer the scrolling, you can disable this by clicking the "disable responsiveness" link in the footer. Link underlining is active. In an effort to make links more visible, they are now being underlined.     While this change is definitely something many users have strong feelings about, I'm really excited about this step in particular because it means that some very long-standing communities will be a lot closer to getting custom themes. We have about ten sites that are no longer in beta but haven't gotten a custom design yet, and once this changeover is complete, we'll move forward in designing those sites - and maybe others.  The layout unification is also allowing us to more easily improve existing features like  and develop new features that have long been requested like , which is currently in testing. We'd love to get more features out to you all and that's easier when we spend more time working on the new features and less time squashing bugs they cause because we have 60+ very different site layouts.  This is addressed in a  if you want more detail.    I'll be doing my best to keep an eye out for - and respond to - questions asking about this change on the child metas for all of the beta sites as we transition to the responsive design but feel free to link users here as well.
70348
I have re-worded this to make more sense.  Ok, I have a plugin that uses a remote service that check for updates, much like default WordPress plugins, in this case it just checks an XML file.  I want to show a menu bubble like this  when an update is available.  It can show just a "1" or text like "alert", it doesn't matter.  Since my plugin uses an options page (using add_options_page) the plugin settings show up under the default "Settings" submenu.  I think I need to add the following CSS to get the bubble to show up,   &lt;span class='update-plugins count-1' title='title'&gt;&lt;span class='update-count'&gt;1&lt;/span&gt;&lt;/span&gt;   and tie into the global $submenu. The problem is I cannot use a hard-coded array value for the menu since each site will have different values.  So I cannot use $submenu[80][10] .= &lt;span class='update-plugins count-1' title='title'&gt;&lt;span class='update-count'&gt;1&lt;/span&gt;&lt;/span&gt;  How can I find my plugins submenu value, do I have to loop through the array and match the string values?  Also even when I hard-coded the values I could not get the bubble to show up.  //adding plugin to menu add_action('admin_menu', 'sec_plugin_checker');  function sec_plugin_checker() {   add_options_page(' Plugin Checker', 'Plugin Check', 'activate_plugins',    'sec_plugin_check', 'sec_checker');   // the conditional where I want the bubble to appear  if (!empty($matches)){      echo "Match found !&lt;br /&gt;";      global $submenu;     foreach( $submenu as $item ) {      $item[41][20] = sprintf( __( 'Updates %s', 'sec_plugin_checker' ),                   "&lt;span class='update-plugins count-1' title='title'&gt;                  &lt;span class='update-count'&gt;1&lt;/span&gt;&lt;/span&gt;");           }   }   and here is what a var_dump($submenu); looks like,   ["options-general.php"]=&gt; array(9){ ...  [41]=&gt;     array(4) {       [0]=&gt;       string(20) "Plugin Check"       [1]=&gt;       string(16) "activate_plugins"       [2]=&gt;       string(21) "sec_plugin_check"       [3]=&gt;       string(23) " Plugin Checker"       ...        }
92599
Should I just paste the code in the main template file, or is there any other recommended way of attaching new Jquery plugins in Drupal 7?
72576
I have written a plugin that will convert posts to excel format and then email the .xls to an email id. I can make it work with when function is declared in functions.php but does not work with function defined in plugin file.   if ( ! wp_next_scheduled( 'xls_func_hook1' ) ) {   wp_schedule_event( time(), 'hourly', 'xls_func_hook1' ); }  add_action( 'xls_func_hook1', 'sendxls1' ); //senxls1 is a function in functions.php if ( ! wp_next_scheduled( 'xls_func_hook2' ) ) {    wp_schedule_event( time(), 'hourly', 'xls_func_hook2' ); } add_action( 'xls_func_hook2', 'export2excel' );   The full code is at