I am migrating a site hosted on on Drupal 7.22, apache 2.2.22aa and php 5.6.9 from one linux server to another lunx server. I did a back up of mysql and apache htdocs folder and extract it on the destination server. But when I lunched the page on the server, I am getting the following error:      Fatal error: Class name must be a valid object or a string in .../common.inc on line 7924   I enabled the debug as below  /*  * Get the entity controller class for an entity type.  */ function entity_get_controller($entity_type) {   $controllers = &amp;drupal_static(__FUNCTION__, array());   if (!isset($controllers[$entity_type])) {     $type_info = entity_get_info($entity_type);     $class = $type_info['controller class'];      // add debug.     if(gettype($class) == 'string' || gettype($class) == 'object') {       $controllers[$entity_type] = new $class($entity_type);     } else  {       print_r(debug_backtrace());     }     $controllers[$entity_type] = new $class($entity_type);   }   return $controllers[$entity_type]; }   Now I am getting the error as   Array ( [0] =&gt; Array ( [file] =&gt; ../includes/common.inc [line] =&gt; 7891 [function] =&gt; entity_get_controller [args] =&gt; Array ( [0] =&gt; node ) ) [1] =&gt; Array ( [file] =&gt; ../modules/node/node.module [line] =&gt; 952 [function] =&gt; entity_load [args] =&gt; Array ( [0] =&gt; node [1] =&gt; Array ( [0] =&gt; 15 ) [2] =&gt; Array ( ) [3] =&gt; ) ) [2] =&gt; Array ( [file] =&gt; ../modules/node/node.module [line] =&gt; 971 [function] =&gt; node_load_multiple [args] =&gt; Array ( [0] =&gt; Array ( [0] =&gt; 15 ) [1] =&gt; Array ( ) [2] =&gt; ) ) [3] =&gt; Array ( [file] =&gt; ../includes/menu.inc [line] =&gt; 593 [function] =&gt; node_load [args] =&gt; Array ( [0] =&gt; 15 ) ) [4] =&gt; Array ( [file] =&gt; ../includes/menu.inc [line] =&gt; 761 [function] =&gt; _menu_load_objects [args] =&gt; Array ( [0] =&gt; Array ( [path] =&gt; node/% [load_functions] =&gt; a:1:{i:1;s:9:"node_load";} [to_arg_functions] =&gt; [access_callback] =&gt; node_access [access_arguments] =&gt; a:2:{i:0;s:4:"view";i:1;i:1;} [page_callback] =&gt; node_page_view [page_arguments] =&gt; a:1:{i:0;i:1;} [delivery_callback] =&gt; [fit] =&gt; 2 [number_parts] =&gt; 2 [context] =&gt; 0 [tab_parent] =&gt; [tab_root] =&gt; node/% [title] =&gt; [title_callback] =&gt; node_page_title [title_arguments] =&gt; a:1:{i:0;i:1;} [theme_callback] =&gt; [theme_arguments] =&gt; a:0:{} [type] =&gt; 6 [description] =&gt; [position] =&gt; [weight] =&gt; 0 [include_file] =&gt; ) [1] =&gt; Array ( [0] =&gt; node [1] =&gt; 15 ) ) ) [5] =&gt; Array ( [file] =&gt; ../includes/menu.inc [line] =&gt; 472 [function] =&gt; _menu_translate [args] =&gt; Array ( [0] =&gt; Array ( [path] =&gt; node/% [load_functions] =&gt; a:1:{i:1;s:9:"node_load";} [to_arg_functions] =&gt; [access_callback] =&gt; node_access [access_arguments] =&gt; a:2:{i:0;s:4:"view";i:1;i:1;} [page_callback] =&gt; node_page_view [page_arguments] =&gt; a:1:{i:0;i:1;} [delivery_callback] =&gt; [fit] =&gt; 2 [number_parts] =&gt; 2 [context] =&gt; 0 [tab_parent] =&gt; [tab_root] =&gt; node/% [title] =&gt; [title_callback] =&gt; node_page_title [title_arguments] =&gt; a:1:{i:0;i:1;} [theme_callback] =&gt; [theme_arguments] =&gt; a:0:{} [type] =&gt; 6 [description] =&gt; [position] =&gt; [weight] =&gt; 0 [include_file] =&gt; ) [1] =&gt; Array ( [0] =&gt; node [1] =&gt; 15 ) ) ) [6] =&gt; Array ( [file] =&gt; ../includes/menu.inc [line] =&gt; 1755 [function] =&gt; menu_get_item [args] =&gt; Array ( ) ) [7] =&gt; Array ( [file] =&gt; ../includes/menu.inc [line] =&gt; 1770 [function] =&gt; menu_get_custom_theme [args] =&gt; Array ( [0] =&gt; 1 ) ) [8] =&gt; Array ( [file] =&gt; ../includes/common.inc [line] =&gt; 5292 [function] =&gt; menu_set_custom_theme [args] =&gt; Array ( ) ) [9] =&gt; Array ( [file] =&gt; ../includes/bootstrap.inc [line] =&gt; 2212 [function] =&gt; _drupal_bootstrap_full [args] =&gt; Array ( ) ) [10] =&gt; Array ( [file] =&gt; ../index.php [line] =&gt; 25 [function] =&gt; drupal_bootstrap [args] =&gt; Array ( [0] =&gt; 7 ) ) )
"Fatal error: Class name must be a valid object or a string in C:\xampp\htdocs\uc\includes\common.inc on line 7506"  The error above showed up unexpectedly. I was adding a "Long text" field to a content-type, but when I expected to be brought to a saved field configuration page, I instead got a Fatal error on every page.  I had a look at includes\common.inc:  /**  * Get the entity controller class for an entity type.  */ function entity_get_controller($entity_type) {   $controllers = &amp;drupal_static(__FUNCTION__, array());   if (!isset($controllers[$entity_type])) {     $type_info = entity_get_info($entity_type);     $class = $type_info['controller class'];     $controllers[$entity_type] = new $class($entity_type); // Line 7506   }   return $controllers[$entity_type]; }   However, I just don't understand Drupal at a low enough level to understand the relationships between these variables and functions.  I also searched Drupal for people with a similar problem:  (1)  who claims that I have to install the submodule "Relation Endpoints Field", but searching Drupal, .  (2) :  DELETE FROM cache; DELETE FROM cache_filter; DELETE FROM cache_menu; DELETE FROM cache_page; DELETE FROM watchdog;   (via , misleading name, I know.)  Clearing those tables from the cache did not help.  (3) And another user . Because I can't find a module specifically pertaining to old search facets, I went into MySQL system table, and marked the Search module's line with a 0 status, indicating to stop loading the module altogether.  On that same link as (3), one user suggested enabling the , so I dropped all the tables, imported the latest stable .sql, and installed the module, but after recreating the problem (trying to add a field to a content-type), that as well concluded fruitless.  Still, the problem remains  The Fatal error shows up on every page, making the site completely non-functional. Any help or direction would be immensely appreciated. Thank you for looking.
How do I backup my Stackexchange favorites for offline use? Footnotes in tables? I would like to have footnotes in tables, but the \footnote command does not work inside a table environment.  Googling one finds that this is , at least in the UK.  That link contains a list of solutions to the problem, but since the author of the FAQ does not believe that this is good style, no comparison is made between the different methods.  I am sure that there are good typographical reasons why in most situations it is undesirable to have footnotes in tables (although I have never come across them), however I have recently felt the need to do just this in a paper I am currently writing.  Therefore I'd like to ask two questions:   What are the arguments against footnotes in tables? If one really must go against the advice in 1., which method (whether considered in the  or not) would you recommend?   Thanks in advance.  Added  In response to ShreevatsaR's comment: I do not much care for where the text of the footnote appears.  I do however insist on the footnote marks being attached to the relevant entries in the table, so that I can avoid having to reference "the second entry in the eighth line of the table", etc... Variation of the Kempner series – convergence of series $\sum\frac{1}{n}$ where $9$ is not a digit of $1/n$. It is easy to argue that the  converges:  $$  \sum\limits_{\substack{n \text{ s.t. 9 is}\\\text{ not a digit} \\\text{ of } n}}  \frac{1}{n} &lt; \infty$$  Let $E \subset \Bbb N_{&gt;0}$  the subset of the positive integers  such that $9$ is not a digit of the decimal expansion of $1/n$ (the decimal expansion is not allowed to have a trailing infinite sequence of "$9$"s. For instance $0.24999...$ is not allowed).  Here are the  that don't belong to $E$ : $11,13,17,19,21,23,29,31,34,38,41,…$ (not known by the OEIS, by the way).  My question is:     Does the series    $$ \sum\limits_{n \in E} \frac{1}{n} \tag 1$$ converge?   My attempt is :   Let $1/n = 0,a_1 a_2 \dots a_k \overline{b_1 b_2 \dots b_m}$ with $n \in E$. Since $1/n$ has no digit "9", we have at most $9^{k+m}$ possibilities for the $a_i$'s and $b_j$'s. Moreover, $1/n ≥ 0,00...0\overline{00...01}≥1/10^{k+m}$. But then I can only bound my series $(1)$ from below, by some real number. So, this is not a clue for the divergence of the series. Apparently, the numbers of the form $n=10k+1$ don't belong to $E$. Maybe we can find sufficiently many numbers that have $9$ in the decimal representation of their reciprocals, so that $(1)$ could converge...   Any comment will be appreciated ! $A_n$ is the only subgroup of $S_n$ of index $2$. How to prove that the only subgroup of the symmetric group $S_n$ of order $n!/2$ is $A_n$?  Why isn't there other possibility?  Thanks :) Find My iPhone Email Notification Is the email notification from Apple that your device has been tracked using Find My iPhone a new feature? Remove Archives in category title How I can remove word "Archives" in head title in category page? I'm using the Twenty Twelve theme and WordPress 4.   &lt;head&gt; &lt;title&gt;"name of category" Archives  | "name of sites"&lt;/title&gt; &lt;/head&gt; Review counts in top-bar and /review don't match Moving set of polygons in ArcGIS Pro? I am very new to mapping and I have loaded a set polygons from a shapefile into ArcGIS Pro. They appear correctly however they have clearly lost (or didn't have in the first place), their longitudinal and latitudinal information as they are currently placed in the middle of the ocean, which I believe is the 0 lat, 0 long position.  I can manually move these polygons but it won't let me save the moves, so when I click 'select', it moves back to the original location. Both of the 'save' and 'discard' buttons are greyed out and cannot be clicked. If I click 'finish' on the move tool then it will snap back to the original location too.  Does anybody have any ideas? What is Attribute Based Encryption? can we use past simple with for the past two days Is there a single word with the same meaning as "good moments" or "pleasant memories"? I'm looking for a word which describes good thing(s) that happened to someone. The only word I can think of is "joy".  Some examples might be:   Wayne has many pleasant memories of the days spent with the family. She could remember many good moments from the last weekend. How to open and repair an m4v or mp4 video file? Yesterday I was filming a scene with my phone but suddenly the application crashed and when I try to open the m4v generated it says that is corrupted.  I have downloaded the video files (around 36MB) on my PC and I am trying to open and repair it. Can you suggest me a way to do it?  FFMPEG info  As suggested in comments I try check what FFMPEG says me about that file with this command  ffmpeg.exe -i VID_20120425_144739.m4v -c:v copy -c:a copy out.mp4 2&gt; log.txt   Here it is the result:  ffmpeg version N-40126-ga4b58fd Copyright (c) 2000-2012 the FFmpeg developers   built on Apr 26 2012 03:29:50 with gcc 4.6.3   configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib   libavutil      51. 47.100 / 51. 47.100   libavcodec     54. 15.100 / 54. 15.100   libavformat    54.  3.100 / 54.  3.100   libavdevice    53.  4.100 / 53.  4.100   libavfilter     2. 72.100 /  2. 72.100   libswscale      2.  1.100 /  2.  1.100   libswresample   0. 11.100 /  0. 11.100   libpostproc    52.  0.100 / 52.  0.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 003fc940] moov atom not found VID_20120425_144739.m4v: Invalid data found when processing input   Latest two lines are displayed in red. What to look for in a wide angle lens? Focus in night photography $\operatorname{Aut}(\mathbb Z_n)$ is isomorphic to $U_n$. I've tried, but I can't solve the question. Please help me prove that:  $\operatorname{Aut}(\mathbb Z_n)$ is isomorphic to  $U_n$. Do I need an airport transit visa for Dublin, Ireland en route to the UK? How to edit 'etc/hosts' file in non-rooted phone? I'm using LineageOS 14.1 and don't want nor need to root it. How can I remount /system rw and edit /system/etc/hosts?  All answers in "" expect a rooted phone. How do I view or install Ubuntu Touch apps? Lots of people have started developing Ubuntu Touch apps for the Ubuntu App Showdown and just in general, and have published them in the Click App Store.  What is the Click App Store, and how do I install apps published in it? Why is apt-get always using proxy, although no proxy is configured? Proving $\mathbb{Q}$ isn't homeomorphic to $\mathbb{Z}$